SX126x-Arduino
|
Region implementation. More...
#include "mac/Commissioning.h"
Go to the source code of this file.
Classes | |
union | uPhyParam |
struct | sGetPhyParams |
struct | sSetBandTxDoneParams |
union | uVerifyParams |
struct | uVerifyParams::sDatarateParams |
struct | sApplyCFListParams |
struct | sChanMaskSetParams |
struct | sAdrNextParams |
struct | sRxConfigParams |
struct | sTxConfigParams |
struct | sLinkAdrReqParams |
struct | sRxParamSetupReqParams |
struct | sNewChannelReqParams |
struct | sTxParamSetupReqParams |
struct | sDlChannelReqParams |
struct | sAlternateDrParams |
struct | sCalcBackOffParams |
struct | sNextChanParams |
struct | sChannelAddParams |
struct | sChannelRemoveParams |
struct | sContinuousWaveParams |
Macros | |
#define | LC(channelIndex) (uint16_t)(1 << (channelIndex - 1)) |
#define | DR_0 0 |
#define | DR_1 1 |
#define | DR_2 2 |
#define | DR_3 3 |
#define | DR_4 4 |
#define | DR_5 5 |
#define | DR_6 6 |
#define | DR_7 7 |
#define | DR_8 8 |
#define | DR_9 9 |
#define | DR_10 10 |
#define | DR_11 11 |
#define | DR_12 12 |
#define | DR_13 13 |
#define | DR_14 14 |
#define | DR_15 15 |
#define | TX_POWER_0 0 |
#define | TX_POWER_1 1 |
#define | TX_POWER_2 2 |
#define | TX_POWER_3 3 |
#define | TX_POWER_4 4 |
#define | TX_POWER_5 5 |
#define | TX_POWER_6 6 |
#define | TX_POWER_7 7 |
#define | TX_POWER_8 8 |
#define | TX_POWER_9 9 |
#define | TX_POWER_10 10 |
#define | TX_POWER_11 11 |
#define | TX_POWER_12 12 |
#define | TX_POWER_13 13 |
#define | TX_POWER_14 14 |
#define | TX_POWER_15 15 |
Functions | |
bool | RegionIsActive (LoRaMacRegion_t region) |
The function verifies if a region is active or not. If a region is not active, it cannot be used. More... | |
PhyParam_t | RegionGetPhyParam (LoRaMacRegion_t region, GetPhyParams_t *getPhy) |
The function gets a value of a specific phy attribute. More... | |
void | RegionSetBandTxDone (LoRaMacRegion_t region, SetBandTxDoneParams_t *txDone) |
Updates the last TX done parameters of the current channel. More... | |
void | RegionInitDefaults (LoRaMacRegion_t region, InitType_t type) |
Initializes the channels masks and the channels. More... | |
bool | RegionVerify (LoRaMacRegion_t region, VerifyParams_t *verify, PhyAttribute_t phyAttribute) |
Verifies a parameter. More... | |
void | RegionApplyCFList (LoRaMacRegion_t region, ApplyCFListParams_t *applyCFList) |
The function parses the input buffer and sets up the channels of the CF list. More... | |
bool | RegionChanMaskSet (LoRaMacRegion_t region, ChanMaskSetParams_t *chanMaskSet) |
Sets a channels mask. More... | |
bool | RegionAdrNext (LoRaMacRegion_t region, AdrNextParams_t *adrNext, int8_t *drOut, int8_t *txPowOut, uint32_t *adrAckCounter) |
Calculates the next datarate to set, when ADR is on or off. More... | |
bool | RegionRxConfig (LoRaMacRegion_t region, RxConfigParams_t *rxConfig, int8_t *datarate) |
Configuration of the RX windows. More... | |
void | RegionComputeRxWindowParameters (LoRaMacRegion_t region, int8_t datarate, uint8_t minRxSymbols, uint32_t rxError, RxConfigParams_t *rxConfigParams) |
bool | RegionTxConfig (LoRaMacRegion_t region, TxConfigParams_t *txConfig, int8_t *txPower, TimerTime_t *txTimeOnAir) |
TX configuration. More... | |
uint8_t | RegionLinkAdrReq (LoRaMacRegion_t region, LinkAdrReqParams_t *linkAdrReq, int8_t *drOut, int8_t *txPowOut, uint8_t *nbRepOut, uint8_t *nbBytesParsed) |
The function processes a Link ADR Request. More... | |
uint8_t | RegionRxParamSetupReq (LoRaMacRegion_t region, RxParamSetupReqParams_t *rxParamSetupReq) |
The function processes a RX Parameter Setup Request. More... | |
uint8_t | RegionNewChannelReq (LoRaMacRegion_t region, NewChannelReqParams_t *newChannelReq) |
The function processes a New Channel Request. More... | |
int8_t | RegionTxParamSetupReq (LoRaMacRegion_t region, TxParamSetupReqParams_t *txParamSetupReq) |
The function processes a TX ParamSetup Request. More... | |
uint8_t | RegionDlChannelReq (LoRaMacRegion_t region, DlChannelReqParams_t *dlChannelReq) |
The function processes a DlChannel Request. More... | |
int8_t | RegionAlternateDr (LoRaMacRegion_t region, AlternateDrParams_t *alternateDr) |
Alternates the datarate of the channel for the join request. More... | |
void | RegionCalcBackOff (LoRaMacRegion_t region, CalcBackOffParams_t *calcBackOff) |
Calculates the back-off time. More... | |
bool | RegionNextChannel (LoRaMacRegion_t region, NextChanParams_t *nextChanParams, uint8_t *channel, TimerTime_t *time, TimerTime_t *aggregatedTimeOff) |
Searches and set the next random available channel. More... | |
LoRaMacStatus_t | RegionChannelAdd (LoRaMacRegion_t region, ChannelAddParams_t *channelAdd) |
Adds a channel. More... | |
bool | RegionChannelsRemove (LoRaMacRegion_t region, ChannelRemoveParams_t *channelRemove) |
Removes a channel. More... | |
void | RegionSetContinuousWave (LoRaMacRegion_t region, ContinuousWaveParams_t *continuousWave) |
Sets the radio into continuous wave mode. More... | |
uint8_t | RegionApplyDrOffset (LoRaMacRegion_t region, uint8_t downlinkDwellTime, int8_t dr, int8_t drOffset) |
Computes new datarate according to the given offset. More... | |
Region implementation.