SX126x-Arduino  2.0.1
Data Fields
sLoRaMacCallback Struct Reference

#include <LoRaMac.h>

Data Fields

uint8_t(* GetBatteryLevel )(void)
 Measures the battery level. More...
 

Detailed Description

LoRaMAC callback structure

Field Documentation

◆ GetBatteryLevel

uint8_t(* sLoRaMacCallback::GetBatteryLevel) (void)

Measures the battery level.

Return values
Batterylevel [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]

The documentation for this struct was generated from the following file: