GNRC LoRaWAN region specific functions. More...
GNRC LoRaWAN region specific functions.
Definition in file region.h.
Go to the source code of this file.
#define | GNRC_LORAWAN_DEFAULT_CHANNELS_NUMOF ARRAY_SIZE(gnrc_lorawan_default_channels) |
Number of default channels. | |
static const uint32_t | gnrc_lorawan_default_channels [] |
Default LoRaWAN channels. More... | |
void | gnrc_lorawan_process_cflist (gnrc_lorawan_t *mac, uint8_t *cflist) |
Process Channel Frequency list frame. More... | |
uint8_t | gnrc_lorawan_rx1_get_dr_offset (uint8_t dr_up, uint8_t dr_offset) |
Get the datarate of the first reception windows. More... | |
bool | gnrc_lorawan_validate_dr (uint8_t dr) |
Check if a datarate is valid in the current region. More... | |
void gnrc_lorawan_process_cflist | ( | gnrc_lorawan_t * | mac, |
uint8_t * | cflist | ||
) |
Process Channel Frequency list frame.
[in] | mac | pointer to the MAC descriptor |
[in] | cflist | the CFList to be processed |
uint8_t gnrc_lorawan_rx1_get_dr_offset | ( | uint8_t | dr_up, |
uint8_t | dr_offset | ||
) |
Get the datarate of the first reception windows.
[in] | dr_up | the datarate of the transmission |
[in] | dr_offset | the offset of the first reception window |
bool gnrc_lorawan_validate_dr | ( | uint8_t | dr | ) |
Check if a datarate is valid in the current region.
[in] | dr | the datarate to be checked |