18#ifndef NET_GNRC_LORAWAN_REGION_H
19#define NET_GNRC_LORAWAN_REGION_H
32#if (IS_ACTIVE(CONFIG_LORAMAC_REGION_EU_868))
36#elif (IS_ACTIVE(CONFIG_LORAMAC_REGION_IN_865))
43#define GNRC_LORAWAN_DEFAULT_CHANNELS_NUMOF \
44 ARRAY_SIZE(gnrc_lorawan_default_channels)
GNRC LoRaWAN API definition.
Common macros and compiler attributes/pragmas configuration.
uint8_t gnrc_lorawan_rx1_get_dr_offset(uint8_t dr_up, uint8_t dr_offset)
Get the datarate of the first reception windows.
static const uint32_t gnrc_lorawan_default_channels[]
Default LoRaWAN channels.
bool gnrc_lorawan_validate_dr(uint8_t dr)
Check if a datarate is valid in the current region.
void gnrc_lorawan_process_cflist(gnrc_lorawan_t *mac, uint8_t *cflist)
Process Channel Frequency list frame.
GNRC LoRaWAN mac descriptor.