Skip to content
Commit a17f1990 authored by Kuba Sanak's avatar Kuba Sanak Committed by Anas Nashif
Browse files

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: default avatarKuba Sanak <contact@kuba.fyi>
parent b81173f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment