zephyr/subsys/lorawan
Kuba Sanak a17f19907b lorawan: Add userspace-defined battery level callback API
Provide the LoRaWAN stack with an optional callback to be
called whenever the battery level needs to be read.

In the case of callback not being provided, the LoRaWAN
stack will report 255 (battery level unavailable) as per
the LoRaWAN spec.

Signed-off-by: Kuba Sanak <contact@kuba.fyi>
2021-02-15 08:19:03 -05:00
..
CMakeLists.txt lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
Kconfig
lorawan.c lorawan: Add userspace-defined battery level callback API 2021-02-15 08:19:03 -05:00
lw_priv.c lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
lw_priv.h lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00