Changed mcps confirmation ul_frequency to channel

pull/6411/head
Kimmo Vaisanen 2018-02-19 08:52:02 +02:00 committed by Antti Kauppila
parent e097429b69
commit 6c165e0f19
2 changed files with 3 additions and 2 deletions

View File

@ -1544,6 +1544,7 @@ lorawan_status_t LoRaMac::send_frame_on_channel(uint8_t channel)
mcps.get_confirmation().status = LORAMAC_EVENT_INFO_STATUS_ERROR;
mcps.get_confirmation().data_rate = _params.sys_params.channel_data_rate;
mcps.get_confirmation().tx_power = tx_power;
mcps.get_confirmation().channel = channel;
// Store the time on air
mcps.get_confirmation().tx_toa = _params.timers.tx_toa;

View File

@ -856,9 +856,9 @@ typedef struct {
*/
uint32_t ul_frame_counter;
/*!
* The uplink frequency related to the frame.
* The uplink channel related to the frame.
*/
uint32_t ul_frequency;
uint32_t channel;
} loramac_mcps_confirm_t;
/*!