Home
last modified time | relevance | path

Searched refs:RegionCommonValueInRange (Results 1 – 12 of 12) sorted by relevance

/loramac-node-2.7.6/src/mac/region/
DRegionAS923.c434 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_TX_MIN_DATARATE, AS923_TX_… in RegionAS923Verify()
438 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_DWELL_LIMIT_DATARATE, AS92… in RegionAS923Verify()
443 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionAS923Verify()
449 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_RX_MIN_DATARATE, AS923_RX_… in RegionAS923Verify()
453 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_DWELL_LIMIT_DATARATE, AS92… in RegionAS923Verify()
460 … return RegionCommonValueInRange( verify->TxPower, AS923_MAX_TX_POWER, AS923_MIN_TX_POWER ); in RegionAS923Verify()
767 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, AS923_RX_MIN_DATARATE, AS923_RX_MAX_DATAR… in RegionAS923RxParamSetupReq()
773 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, AS923_MIN_RX1_DR_OFFSET, AS923_MAX_RX1_DR… in RegionAS923RxParamSetupReq()
962 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, AS923_TX_MIN_DATARATE, A… in RegionAS923ChannelAdd()
966 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, AS923_TX_MIN_DATARATE, A… in RegionAS923ChannelAdd()
DRegionCN779.c348 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, CN779_TX_MIN_DATARATE, CN779_TX_… in RegionCN779Verify()
352 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionCN779Verify()
356 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, CN779_RX_MIN_DATARATE, CN779_RX_… in RegionCN779Verify()
362 … return RegionCommonValueInRange( verify->TxPower, CN779_MAX_TX_POWER, CN779_MIN_TX_POWER ); in RegionCN779Verify()
669 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, CN779_RX_MIN_DATARATE, CN779_RX_MAX_DATAR… in RegionCN779RxParamSetupReq()
675 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, CN779_MIN_RX1_DR_OFFSET, CN779_MAX_RX1_DR… in RegionCN779RxParamSetupReq()
840 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, CN779_TX_MIN_DATARATE, C… in RegionCN779ChannelAdd()
844 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, CN779_TX_MIN_DATARATE, C… in RegionCN779ChannelAdd()
DRegionEU433.c348 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, EU433_TX_MIN_DATARATE, EU433_TX_… in RegionEU433Verify()
352 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionEU433Verify()
356 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, EU433_RX_MIN_DATARATE, EU433_RX_… in RegionEU433Verify()
362 … return RegionCommonValueInRange( verify->TxPower, EU433_MAX_TX_POWER, EU433_MIN_TX_POWER ); in RegionEU433Verify()
669 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, EU433_RX_MIN_DATARATE, EU433_RX_MAX_DATAR… in RegionEU433RxParamSetupReq()
675 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, EU433_MIN_RX1_DR_OFFSET, EU433_MAX_RX1_DR… in RegionEU433RxParamSetupReq()
840 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, EU433_TX_MIN_DATARATE, E… in RegionEU433ChannelAdd()
844 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, EU433_TX_MIN_DATARATE, E… in RegionEU433ChannelAdd()
DRegionIN865.c354 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, IN865_TX_MIN_DATARATE, IN865_TX_… in RegionIN865Verify()
359 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionIN865Verify()
369 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, IN865_RX_MIN_DATARATE, IN865_RX_… in RegionIN865Verify()
376 … return RegionCommonValueInRange( verify->TxPower, IN865_MAX_TX_POWER, IN865_MIN_TX_POWER ); in RegionIN865Verify()
690 …if( ( RegionCommonValueInRange( rxParamSetupReq->Datarate, IN865_RX_MIN_DATARATE, IN865_RX_MAX_DAT… in RegionIN865RxParamSetupReq()
698 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR… in RegionIN865RxParamSetupReq()
863 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, IN865_TX_MIN_DATARATE, I… in RegionIN865ChannelAdd()
867 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, IN865_TX_MIN_DATARATE, I… in RegionIN865ChannelAdd()
DRegionKR920.c368 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, KR920_TX_MIN_DATARATE, KR920_TX_… in RegionKR920Verify()
372 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionKR920Verify()
376 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, KR920_RX_MIN_DATARATE, KR920_RX_… in RegionKR920Verify()
382 … return RegionCommonValueInRange( verify->TxPower, KR920_MAX_TX_POWER, KR920_MIN_TX_POWER ); in RegionKR920Verify()
665 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, KR920_RX_MIN_DATARATE, KR920_RX_MAX_DATAR… in RegionKR920RxParamSetupReq()
671 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, KR920_MIN_RX1_DR_OFFSET, KR920_MAX_RX1_DR… in RegionKR920RxParamSetupReq()
852 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, KR920_TX_MIN_DATARATE, K… in RegionKR920ChannelAdd()
856 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, KR920_TX_MIN_DATARATE, K… in RegionKR920ChannelAdd()
DRegionRU864.c347 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, RU864_TX_MIN_DATARATE, RU864_TX_… in RegionRU864Verify()
351 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionRU864Verify()
355 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, RU864_RX_MIN_DATARATE, RU864_RX_… in RegionRU864Verify()
361 … return RegionCommonValueInRange( verify->TxPower, RU864_MAX_TX_POWER, RU864_MIN_TX_POWER ); in RegionRU864Verify()
668 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, RU864_RX_MIN_DATARATE, RU864_RX_MAX_DATAR… in RegionRU864RxParamSetupReq()
674 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, RU864_MIN_RX1_DR_OFFSET, RU864_MAX_RX1_DR… in RegionRU864RxParamSetupReq()
839 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, RU864_TX_MIN_DATARATE, R… in RegionRU864ChannelAdd()
843 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, RU864_TX_MIN_DATARATE, R… in RegionRU864ChannelAdd()
DRegionEU868.c379 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, EU868_TX_MIN_DATARATE, EU868_TX_… in RegionEU868Verify()
383 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionEU868Verify()
387 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, EU868_RX_MIN_DATARATE, EU868_RX_… in RegionEU868Verify()
393 … return RegionCommonValueInRange( verify->TxPower, EU868_MAX_TX_POWER, EU868_MIN_TX_POWER ); in RegionEU868Verify()
701 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, EU868_RX_MIN_DATARATE, EU868_RX_MAX_DATAR… in RegionEU868RxParamSetupReq()
707 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, EU868_MIN_RX1_DR_OFFSET, EU868_MAX_RX1_DR… in RegionEU868RxParamSetupReq()
874 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Min, EU868_TX_MIN_DATARATE, E… in RegionEU868ChannelAdd()
878 …if( RegionCommonValueInRange( channelAdd->NewChannel->DrRange.Fields.Max, EU868_TX_MIN_DATARATE, E… in RegionEU868ChannelAdd()
DRegionUS915.c410 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, US915_TX_MIN_DATARATE, US915_TX_… in RegionUS915Verify()
414 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionUS915Verify()
418 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, US915_RX_MIN_DATARATE, US915_RX_… in RegionUS915Verify()
424 … return RegionCommonValueInRange( verify->TxPower, US915_MAX_TX_POWER, US915_MIN_TX_POWER ); in RegionUS915Verify()
741 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, US915_RX_MIN_DATARATE, US915_RX_MAX_DATAR… in RegionUS915RxParamSetupReq()
745 if( ( RegionCommonValueInRange( rxParamSetupReq->Datarate, DR_5, DR_7 ) == true ) || in RegionUS915RxParamSetupReq()
752 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, US915_MIN_RX1_DR_OFFSET, US915_MAX_RX1_DR… in RegionUS915RxParamSetupReq()
DRegionAU915.c414 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AU915_TX_MIN_DATARATE, AU915_TX_… in RegionAU915Verify()
418 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AU915_DWELL_LIMIT_DATARATE, AU91… in RegionAU915Verify()
425 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AU915_RX_MIN_DATARATE, AU915_RX_… in RegionAU915Verify()
429 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AU915_DWELL_LIMIT_DATARATE, AU91… in RegionAU915Verify()
436 … return RegionCommonValueInRange( verify->TxPower, AU915_MAX_TX_POWER, AU915_MIN_TX_POWER ); in RegionAU915Verify()
743 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, AU915_RX_MIN_DATARATE, AU915_RX_MAX_DATAR… in RegionAU915RxParamSetupReq()
754 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, AU915_MIN_RX1_DR_OFFSET, AU915_MAX_RX1_DR… in RegionAU915RxParamSetupReq()
DRegionCommon.c221 if( RegionCommonValueInRange( dr, minDr, maxDr ) == 0 ) in RegionCommonChanVerifyDr()
232 if( RegionCommonValueInRange( dr, ( channels[i + j].DrRange.Fields.Min & 0x0F ), in RegionCommonChanVerifyDr()
244 uint8_t RegionCommonValueInRange( int8_t value, int8_t min, int8_t max ) in RegionCommonValueInRange() function
467 …else if( RegionCommonValueInRange( txPower, verifyParams->MaxTxPower, verifyParams->MinTxPower ) =… in RegionCommonLinkAdrReqVerifyParams()
577 if( RegionCommonValueInRange( countNbOfEnabledChannelsParams->Datarate, in RegionCommonCountNbOfEnabledChannels()
DRegionCN470.c621 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, CN470_TX_MIN_DATARATE, CN470_TX_… in RegionCN470Verify()
625 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, CN470_RX_MIN_DATARATE, CN470_RX_… in RegionCN470Verify()
631 … return RegionCommonValueInRange( verify->TxPower, CN470_MAX_TX_POWER, CN470_MIN_TX_POWER ); in RegionCN470Verify()
896 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, CN470_RX_MIN_DATARATE, CN470_RX_MAX_DATAR… in RegionCN470RxParamSetupReq()
902 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, CN470_MIN_RX1_DR_OFFSET, CN470_MAX_RX1_DR… in RegionCN470RxParamSetupReq()
DRegionCommon.h352 uint8_t RegionCommonValueInRange( int8_t value, int8_t min, int8_t max );