![]() |
LoRaMAC
4.6.0
Documentation of the API
|
#include <LoRaMac.h>
Data Fields | |
| uint8_t(* | GetBatteryLevel )(void) |
| Measures the battery level. More... | |
| float(* | GetTemperatureLevel )(void) |
| Measures the temperature level. More... | |
| void(* | NvmDataChange )(uint16_t notifyFlags) |
| Will be called when an attribute has changed in one of the context. More... | |
| void(* | MacProcessNotify )(void) |
| Will be called each time a Radio IRQ is handled by the MAC layer. More... | |
LoRaMAC callback structure
| uint8_t( * GetBatteryLevel) (void) |
Measures the battery level.
| Battery | level [0: node is connected to an external power source, 1..254: battery level, where 1 is the minimum and 254 is the maximum value, 255: the node was not able to measure the battery level] |
| float( * GetTemperatureLevel) (void) |
Measures the temperature level.
| Temperature | level |
| void( * NvmDataChange) (uint16_t notifyFlags) |
Will be called when an attribute has changed in one of the context.
| notifyFlags | Bitmap that contains the modules which changed. Refer to LoRaMacNvmData_t. |
| void( * MacProcessNotify) (void) |
Will be called each time a Radio IRQ is handled by the MAC layer.