GNRC LoRaWAN region specific functions.
More...
GNRC LoRaWAN region specific functions.
- Author
- José Ignacio Alamos jose..nosp@m.alam.nosp@m.os@ha.nosp@m.w-ha.nosp@m.mburg.nosp@m..de
Definition in file region.h.
Go to the source code of this file.
◆ GNRC_LORAWAN_DEFAULT_CHANNELS_NUMOF
Number of default channels.
Definition at line 44 of file region.h.
◆ gnrc_lorawan_process_cflist()
void gnrc_lorawan_process_cflist |
( |
gnrc_lorawan_t * |
mac, |
|
|
uint8_t * |
cflist |
|
) |
| |
Process Channel Frequency list frame.
- Parameters
-
[in] | mac | pointer to the MAC descriptor |
[in] | cflist | the CFList to be processed |
◆ gnrc_lorawan_rx1_get_dr_offset()
uint8_t gnrc_lorawan_rx1_get_dr_offset |
( |
uint8_t |
dr_up, |
|
|
uint8_t |
dr_offset |
|
) |
| |
Get the datarate of the first reception windows.
- Parameters
-
[in] | dr_up | the datarate of the transmission |
[in] | dr_offset | the offset of the first reception window |
- Returns
- datarate
◆ gnrc_lorawan_validate_dr()
bool gnrc_lorawan_validate_dr |
( |
uint8_t |
dr | ) |
|
Check if a datarate is valid in the current region.
- Parameters
-
[in] | dr | the datarate to be checked |
- Returns
- true if datarate is valid
-
false otherwise
◆ gnrc_lorawan_default_channels
const uint32_t gnrc_lorawan_default_channels[] |
|
static |
Initial value:
Default LoRaWAN channels.
Definition at line 31 of file region.h.