mirror of https://github.com/ARMmbed/mbed-os.git
Update DevStatusAnd format
In the DevStatusAns format, the protocol requires RFU(7:6) value = 0pull/6411/head
parent
e1fff2e738
commit
65b2dbc7dc
|
@ -341,7 +341,7 @@ lorawan_status_t LoRaMacCommand::process_mac_commands(uint8_t *payload, uint8_t
|
|||
// we don't have a mechanism at the moment to measure
|
||||
// battery levels
|
||||
ret_value = add_mac_command(MOTE_MAC_DEV_STATUS_ANS,
|
||||
batteryLevel, snr);
|
||||
batteryLevel, snr & 0x3F);
|
||||
break;
|
||||
}
|
||||
case SRV_MAC_NEW_CHANNEL_REQ: {
|
||||
|
|
Loading…
Reference in New Issue