LoRaWAN MAC layer implementation
Dependents: LoRaWAN-demo-72_tjm LoRaWAN-demo-72_jlc LoRaWAN-demo-elmo frdm_LoRa_Connect_Woodstream_Demo_tjm ... more
sLoRaMacCallbacks Struct Reference
#include <LoRaMac-api-v3.h>
Data Fields | |
void(* | MacEvent )(LoRaMacEventFlags_t *flags, LoRaMacEventInfo_t *info) |
uint8_t(* | GetBatteryLevel )(void) |
Detailed Description
LoRaMAC events structure Used to notify upper layers of MAC events
Definition at line 179 of file LoRaMac-api-v3.h.
Field Documentation
uint8_t( * GetBatteryLevel)(void) |
Function callback to get the current battery level
- Return values:
-
batteryLevel Current battery level
Definition at line 193 of file LoRaMac-api-v3.h.
void( * MacEvent)(LoRaMacEventFlags_t *flags, LoRaMacEventInfo_t *info) |
MAC layer event callback prototype.
- Parameters:
-
[IN] flags Bit field indicating the MAC events occurred [IN] info Details about MAC events occurred
Definition at line 187 of file LoRaMac-api-v3.h.
Generated on Tue Jul 12 2022 14:27:12 by 1.7.2