Update DevStatusAnd format

In the DevStatusAns format, the protocol requires RFU(7:6) value = 0
pull/6411/head
Kimmo Vaisanen 2018-02-19 09:16:44 +02:00 committed by Antti Kauppila
parent e1fff2e738
commit 65b2dbc7dc
1 changed files with 1 additions and 1 deletions

View File

@ -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: {