mirror of https://github.com/ARMmbed/mbed-os.git
Changed mcps confirmation ul_frequency to channel
parent
e097429b69
commit
6c165e0f19
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue