|
LoRaMAC
4.6.0
Documentation of the API
|
Go to the documentation of this file.
33 #ifndef __REGION_CN470_A26_H__
34 #define __REGION_CN470_A26_H__
47 #define CN470_A26_CHANNELS_MASK_SIZE 3
53 #define CN470_A26_JOIN_ACCEPT_LIST_SIZE 3
59 #define CN470_A26_BEACON_NB_CHANNELS 1
65 #define CN470_A26_PING_SLOT_NB_CHANNELS 1
71 #define CN470_A26_FIRST_RX_CHANNEL 490100000
77 #define CN470_A26_LAST_RX_CHANNEL 494700000
84 #define CN470_A26_STEPWIDTH_RX_CHANNEL 200000
90 #define CN470_A26_FIRST_TX_CHANNEL 470300000
96 #define CN470_A26_LAST_TX_CHANNEL 479700000
103 #define CN470_A26_STEPWIDTH_TX_CHANNEL 200000
109 #define CN470_A26_RX_WND_2_FREQ 492500000
115 #define CN470_A26_BEACON_FREQ 494900000
211 #endif // __REGION_CN470_A26_H__
uint8_t RegionCN470A26LinkAdrChMaskUpdate(uint16_t *channelsMask, uint8_t chMaskCntl, uint16_t chanMask, ChannelParams_t *channels)
Performs the update of the channelsMask based on the input parameters for the Channel plan type A,...
void RegionCN470A26InitializeChannelsMask(uint16_t *channelsDefaultMask)
Initializes the channels default mask for the Channel plan type A, 26MHz.
uint32_t RegionCN470A26GetRx1Frequency(uint8_t channel)
Computes the frequency for the RX1 window for the Channel plan type A, 26MHz.
bool RegionCN470A26VerifyRfFreq(uint32_t frequency)
Verifies if the frequency provided is valid for the Channel plan type A, 26MHz.
uint32_t RegionCN470A26GetDownlinkFrequency(uint8_t channel, uint8_t joinChannelIndex, bool isPingSlot)
Calculation of the beacon frequency.
Definition: LoRaMacTypes.h:1220
uint8_t RegionCN470A26GetBeaconChannelOffset(uint8_t joinChannelIndex)
Performs the update of the channelsMask based on the input parameters for the Channel plan type A,...
uint32_t RegionCN470A26GetRx2Frequency(uint8_t joinChannelIndex, bool isOtaaDevice)
Computes the frequency for the RX2 window for the Channel plan type A, 26MHz.
void RegionCN470A26InitializeChannels(ChannelParams_t *channels)
Initializes all channels, datarates, frequencies and bands for the Channel plan type A,...