![]()  | 
  
    LoRaMAC
    4.4.6
    
   Documentation of the API 
   | 
 
Region implementation. More...
#include <stdint.h>#include <stdbool.h>#include "utilities.h"#include "LoRaMac.h"#include "timer.h"#include "RegionCommon.h"Go to the source code of this file.
Data Structures | |
| struct | BeaconFormat_t | 
| union | PhyParam_t | 
| struct | GetPhyParams_t | 
| struct | SetBandTxDoneParams_t | 
| struct | InitDefaultsParams_t | 
| union | VerifyParams_t | 
| struct | VerifyParams_t::sDatarateParams | 
| struct | ApplyCFListParams_t | 
| struct | ChanMaskSetParams_t | 
| struct | RxConfigParams_t | 
| struct | TxConfigParams_t | 
| struct | LinkAdrReqParams_t | 
| struct | RxParamSetupReqParams_t | 
| struct | NewChannelReqParams_t | 
| struct | TxParamSetupReqParams_t | 
| struct | DlChannelReqParams_t | 
| struct | NextChanParams_t | 
| struct | ChannelAddParams_t | 
| struct | ChannelRemoveParams_t | 
| struct | ContinuousWaveParams_t | 
| struct | RxBeaconSetup_t | 
Macros | |
| #define | LC(channelIndex) ( uint16_t )( 1 << ( channelIndex - 1 ) ) | 
| #define | REGION_VERSION 0x00010003 | 
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, InitDefaultsParams_t *params) | 
| 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 | 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... | |
| int8_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... | |
| int8_t | RegionDlChannelReq (LoRaMacRegion_t region, DlChannelReqParams_t *dlChannelReq) | 
| The function processes a DlChannel Request.  More... | |
| int8_t | RegionAlternateDr (LoRaMacRegion_t region, int8_t currentDr, AlternateDrType_t type) | 
| Alternates the datarate of the channel for the join request.  More... | |
| LoRaMacStatus_t | 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... | |
| void | RegionRxBeaconSetup (LoRaMacRegion_t region, RxBeaconSetup_t *rxBeaconSetup, uint8_t *outDr) | 
| Sets the radio into beacon reception mode.  More... | |
| Version_t | RegionGetVersion (void) | 
| Gets the version of the regional parameters implementation.  More... | |
Region implementation.