|
LoRaMAC
4.6.0
Documentation of the API
|
Go to the documentation of this file.
33 #ifndef __REGION_CN470_B26_H__
34 #define __REGION_CN470_B26_H__
47 #define CN470_B26_CHANNELS_MASK_SIZE 3
53 #define CN470_B26_JOIN_ACCEPT_LIST_SIZE 3
59 #define CN470_B26_BEACON_NB_CHANNELS 1
65 #define CN470_B26_PING_SLOT_NB_CHANNELS 1
71 #define CN470_B26_FIRST_RX_CHANNEL 500100000
77 #define CN470_B26_LAST_RX_CHANNEL 504700000
84 #define CN470_B26_STEPWIDTH_RX_CHANNEL 200000
90 #define CN470_B26_FIRST_TX_CHANNEL 480300000
96 #define CN470_B26_LAST_TX_CHANNEL 489700000
103 #define CN470_B26_STEPWIDTH_TX_CHANNEL 200000
109 #define CN470_B26_RX_WND_2_FREQ 502500000
115 #define CN470_B26_BEACON_FREQ 504900000
211 #endif // __REGION_CN470_B26_H__
void RegionCN470B26InitializeChannels(ChannelParams_t *channels)
Initializes all channels, datarates, frequencies and bands for the Channel plan type B,...
void RegionCN470B26InitializeChannelsMask(uint16_t *channelsDefaultMask)
Initializes the channels mask and the channels default mask for the Channel plan type B,...
uint32_t RegionCN470B26GetDownlinkFrequency(uint8_t channel, uint8_t joinChannelIndex, bool isPingSlot)
Calculation of the beacon frequency.
uint32_t RegionCN470B26GetRx2Frequency(uint8_t joinChannelIndex, bool isOtaaDevice)
Computes the frequency for the RX2 window for the Channel plan type B, 26MHz.
uint8_t RegionCN470B26GetBeaconChannelOffset(uint8_t joinChannelIndex)
Performs the update of the channelsMask based on the input parameters for the Channel plan type B,...
Definition: LoRaMacTypes.h:1220
bool RegionCN470B26VerifyRfFreq(uint32_t frequency)
Verifies if the frequency provided is valid for the Channel plan type B, 26MHz.
uint8_t RegionCN470B26LinkAdrChMaskUpdate(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 B,...
uint32_t RegionCN470B26GetRx1Frequency(uint8_t channel)
Computes the frequency for the RX1 window for the Channel plan type B, 26MHz.