Fork of Semtech LoRaWAN stack
Fork of LoRaWAN-lib by
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 16:32:56 by
1.7.2
