LoRaMAC  4.6.0
Documentation of the API
RegionCN470B26.h File Reference

Specific implementations of Channel plan type B, 26MHz. More...

#include "region/Region.h"

Go to the source code of this file.

Macros

#define CN470_B26_CHANNELS_MASK_SIZE   3
 
#define CN470_B26_JOIN_ACCEPT_LIST_SIZE   3
 
#define CN470_B26_BEACON_NB_CHANNELS   1
 
#define CN470_B26_PING_SLOT_NB_CHANNELS   1
 
#define CN470_B26_FIRST_RX_CHANNEL   500100000
 
#define CN470_B26_LAST_RX_CHANNEL   504700000
 
#define CN470_B26_STEPWIDTH_RX_CHANNEL   200000
 
#define CN470_B26_FIRST_TX_CHANNEL   480300000
 
#define CN470_B26_LAST_TX_CHANNEL   489700000
 
#define CN470_B26_STEPWIDTH_TX_CHANNEL   200000
 
#define CN470_B26_RX_WND_2_FREQ   502500000
 
#define CN470_B26_BEACON_FREQ   504900000
 

Functions

uint32_t RegionCN470B26GetDownlinkFrequency (uint8_t channel, uint8_t joinChannelIndex, bool isPingSlot)
 Calculation of the beacon frequency. More...
 
uint8_t RegionCN470B26GetBeaconChannelOffset (uint8_t joinChannelIndex)
 Performs the update of the channelsMask based on the input parameters for the Channel plan type B, 26MHz. More...
 
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, 26MHz. More...
 
bool RegionCN470B26VerifyRfFreq (uint32_t frequency)
 Verifies if the frequency provided is valid for the Channel plan type B, 26MHz. More...
 
void RegionCN470B26InitializeChannels (ChannelParams_t *channels)
 Initializes all channels, datarates, frequencies and bands for the Channel plan type B, 26MHz. More...
 
void RegionCN470B26InitializeChannelsMask (uint16_t *channelsDefaultMask)
 Initializes the channels mask and the channels default mask for the Channel plan type B, 26MHz. More...
 
uint32_t RegionCN470B26GetRx1Frequency (uint8_t channel)
 Computes the frequency for the RX1 window for the Channel plan type B, 26MHz. More...
 
uint32_t RegionCN470B26GetRx2Frequency (uint8_t joinChannelIndex, bool isOtaaDevice)
 Computes the frequency for the RX2 window for the Channel plan type B, 26MHz. More...
 

Detailed Description

Specific implementations of Channel plan type B, 26MHz.

______ _
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013-2017 Semtech
___ _____ _ ___ _ _____ ___ ___ ___ ___
/ __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
\__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _|
|___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
embedded.connectivity.solutions===============
Author
Miguel Luis ( Semtech )
Daniel Jaeckle ( STACKFORCE )