LoRaMAC  4.4.6
Documentation of the API
RegionBaseUS.h File Reference

Implementations common with US region. More...

#include "LoRaMac.h"

Go to the source code of this file.

Functions

LoRaMacStatus_t RegionBaseUSComputeNext125kHzJoinChannel (uint16_t *channelsMaskRemaining, uint8_t *groupsCurrentIndex, uint8_t *newChannelIndex)
 Computes the next 125kHz channel used for join requests. And it returns all the parameters updated. More...
 
bool RegionBaseUSVerifyFrequencyGroup (uint32_t freq, uint32_t minFreq, uint32_t maxFreq, uint32_t stepwidth)
 Verifies if the frequency is in the correct range with a specific stepwidth. More...
 
uint32_t RegionBaseUSCalcDownlinkFrequency (uint8_t channel, uint32_t frequency, uint32_t stepwidth)
 Calculates the downlink frequency for a given channel. This function is used in class B only. More...
 

Detailed Description

Implementations common with US region.

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