Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LoRaWAN_Semtech_stack_v4.1 by
Diff: mac/LoRaMac.cpp
- Revision:
- 4:0aa5d153c316
- Parent:
- 1:2be292bd43f9
--- a/mac/LoRaMac.cpp Fri Mar 18 12:31:07 2016 +0000
+++ b/mac/LoRaMac.cpp Tue Mar 22 16:20:41 2016 +0000
@@ -2259,7 +2259,8 @@
uint8_t batteryLevel = BAT_LEVEL_NO_MEASURE;
if( ( LoRaMacCallbacks != NULL ) && ( LoRaMacCallbacks->GetBatteryLevel != NULL ) )
{
- batteryLevel = LoRaMacCallbacks->GetBatteryLevel( );
+ //GetBatteryLevel not implemented and turned off for cert test purposes
+ //batteryLevel = LoRaMacCallbacks->GetBatteryLevel( );
}
AddMacCommand( MOTE_MAC_DEV_STATUS_ANS, batteryLevel, snr );
break;
