#include <LoRaMac.h>
LoRaMAC callback structure
- Examples
- classA/B-L072Z-LRWAN1/main.c, classA/NAMote72/main.c, classA/NucleoL073/main.c, classA/NucleoL152/main.c, classA/NucleoL476/main.c, classA/SAMR34/main.c, classA/SKiM880B/main.c, classA/SKiM881AXL/main.c, classA/SKiM980A/main.c, classB/B-L072Z-LRWAN1/main.c, classB/NAMote72/main.c, classB/NucleoL073/main.c, classB/NucleoL152/main.c, classB/NucleoL476/main.c, classB/SAMR34/main.c, classB/SKiM880B/main.c, classB/SKiM881AXL/main.c, classB/SKiM980A/main.c, classC/B-L072Z-LRWAN1/main.c, classC/NAMote72/main.c, classC/NucleoL073/main.c, classC/NucleoL152/main.c, classC/NucleoL476/main.c, classC/SAMR34/main.c, classC/SKiM880B/main.c, classC/SKiM881AXL/main.c, and classC/SKiM980A/main.c.
◆ GetBatteryLevel
uint8_t( * GetBatteryLevel) (void) |
Measures the battery level.
- Return values
-
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] |
- Examples
- classA/B-L072Z-LRWAN1/main.c, classA/NAMote72/main.c, classA/NucleoL073/main.c, classA/NucleoL152/main.c, classA/NucleoL476/main.c, classA/SAMR34/main.c, classA/SKiM880B/main.c, classA/SKiM881AXL/main.c, classA/SKiM980A/main.c, classB/B-L072Z-LRWAN1/main.c, classB/NAMote72/main.c, classB/NucleoL073/main.c, classB/NucleoL152/main.c, classB/NucleoL476/main.c, classB/SAMR34/main.c, classB/SKiM880B/main.c, classB/SKiM881AXL/main.c, classB/SKiM980A/main.c, classC/B-L072Z-LRWAN1/main.c, classC/NAMote72/main.c, classC/NucleoL073/main.c, classC/NucleoL152/main.c, classC/NucleoL476/main.c, classC/SAMR34/main.c, classC/SKiM880B/main.c, classC/SKiM881AXL/main.c, and classC/SKiM980A/main.c.
◆ GetTemperatureLevel
float( * GetTemperatureLevel) (void) |
Measures the temperature level.
- Return values
-
- Examples
- classA/B-L072Z-LRWAN1/main.c, classA/NAMote72/main.c, classA/NucleoL073/main.c, classA/NucleoL152/main.c, classA/NucleoL476/main.c, classA/SAMR34/main.c, classA/SKiM880B/main.c, classA/SKiM881AXL/main.c, classA/SKiM980A/main.c, classB/B-L072Z-LRWAN1/main.c, classB/NAMote72/main.c, classB/NucleoL073/main.c, classB/NucleoL152/main.c, classB/NucleoL476/main.c, classB/SAMR34/main.c, classB/SKiM880B/main.c, classB/SKiM881AXL/main.c, classB/SKiM980A/main.c, classC/B-L072Z-LRWAN1/main.c, classC/NAMote72/main.c, classC/NucleoL073/main.c, classC/NucleoL152/main.c, classC/NucleoL476/main.c, classC/SAMR34/main.c, classC/SKiM880B/main.c, classC/SKiM881AXL/main.c, and classC/SKiM980A/main.c.
◆ NvmContextChange
Will be called when an attribute has changed in one of the context.
- Parameters
-
- Examples
- classA/B-L072Z-LRWAN1/main.c, classA/NAMote72/main.c, classA/NucleoL073/main.c, classA/NucleoL152/main.c, classA/NucleoL476/main.c, classA/SAMR34/main.c, classA/SKiM880B/main.c, classA/SKiM881AXL/main.c, classA/SKiM980A/main.c, classB/B-L072Z-LRWAN1/main.c, classB/NAMote72/main.c, classB/NucleoL073/main.c, classB/NucleoL152/main.c, classB/NucleoL476/main.c, classB/SAMR34/main.c, classB/SKiM880B/main.c, classB/SKiM881AXL/main.c, classB/SKiM980A/main.c, classC/B-L072Z-LRWAN1/main.c, classC/NAMote72/main.c, classC/NucleoL073/main.c, classC/NucleoL152/main.c, classC/NucleoL476/main.c, classC/SAMR34/main.c, classC/SKiM880B/main.c, classC/SKiM881AXL/main.c, and classC/SKiM980A/main.c.
◆ MacProcessNotify
void( * MacProcessNotify) (void) |
Will be called each time a Radio IRQ is handled by the MAC layer.
- Warning
- Runs in a IRQ context. Should only change variables state.
- Examples
- classA/B-L072Z-LRWAN1/main.c, classA/NAMote72/main.c, classA/NucleoL073/main.c, classA/NucleoL152/main.c, classA/NucleoL476/main.c, classA/SAMR34/main.c, classA/SKiM880B/main.c, classA/SKiM881AXL/main.c, classA/SKiM980A/main.c, classB/B-L072Z-LRWAN1/main.c, classB/NAMote72/main.c, classB/NucleoL073/main.c, classB/NucleoL152/main.c, classB/NucleoL476/main.c, classB/SAMR34/main.c, classB/SKiM880B/main.c, classB/SKiM881AXL/main.c, classB/SKiM980A/main.c, classC/B-L072Z-LRWAN1/main.c, classC/NAMote72/main.c, classC/NucleoL073/main.c, classC/NucleoL152/main.c, classC/NucleoL476/main.c, classC/SAMR34/main.c, classC/SKiM880B/main.c, classC/SKiM881AXL/main.c, and classC/SKiM980A/main.c.
The documentation for this struct was generated from the following file: