PicoWAN SDK Documentation
Data Fields
mac_battery_callback_t Struct Reference

Data Fields

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

Field Documentation

uint8_t(* get_battery_level) (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: