Home
last modified time | relevance | path

Searched refs:rxParamSetupReq (Results 1 – 23 of 23) sorted by relevance

/loramac-node-latest/src/mac/region/
DRegion.c48 …AM_SETUP_REQ( ) AS923_CASE { return RegionAS923RxParamSetupReq( rxParamSetupReq ); }
97 …AM_SETUP_REQ( ) AU915_CASE { return RegionAU915RxParamSetupReq( rxParamSetupReq ); }
146 …AM_SETUP_REQ( ) CN470_CASE { return RegionCN470RxParamSetupReq( rxParamSetupReq ); }
195 …AM_SETUP_REQ( ) CN779_CASE { return RegionCN779RxParamSetupReq( rxParamSetupReq ); }
244 …AM_SETUP_REQ( ) EU433_CASE { return RegionEU433RxParamSetupReq( rxParamSetupReq ); }
293 …AM_SETUP_REQ( ) EU868_CASE { return RegionEU868RxParamSetupReq( rxParamSetupReq ); }
342 …AM_SETUP_REQ( ) KR920_CASE { return RegionKR920RxParamSetupReq( rxParamSetupReq ); }
391 …AM_SETUP_REQ( ) IN865_CASE { return RegionIN865RxParamSetupReq( rxParamSetupReq ); }
440 …AM_SETUP_REQ( ) US915_CASE { return RegionUS915RxParamSetupReq( rxParamSetupReq ); }
489 …AM_SETUP_REQ( ) RU864_CASE { return RegionRU864RxParamSetupReq( rxParamSetupReq ); }
[all …]
DRegionUS915.c730 uint8_t RegionUS915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionUS915RxParamSetupReq() argument
735 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionUS915RxParamSetupReq()
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()
746 ( rxParamSetupReq->Datarate > DR_13 ) ) in RegionUS915RxParamSetupReq()
752 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, US915_MIN_RX1_DR_OFFSET, US915_MAX_RX1_DR… in RegionUS915RxParamSetupReq()
DRegionAU915.c732 uint8_t RegionAU915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionAU915RxParamSetupReq() argument
737 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionAU915RxParamSetupReq()
743 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, AU915_RX_MIN_DATARATE, AU915_RX_MAX_DATAR… in RegionAU915RxParamSetupReq()
747 if( ( rxParamSetupReq->Datarate == DR_7 ) || in RegionAU915RxParamSetupReq()
748 ( rxParamSetupReq->Datarate > DR_13 ) ) in RegionAU915RxParamSetupReq()
754 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, AU915_MIN_RX1_DR_OFFSET, AU915_MAX_RX1_DR… in RegionAU915RxParamSetupReq()
DRegionIN865.c679 uint8_t RegionIN865RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionIN865RxParamSetupReq() argument
684 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionIN865RxParamSetupReq()
690 …if( ( RegionCommonValueInRange( rxParamSetupReq->Datarate, IN865_RX_MIN_DATARATE, IN865_RX_MAX_DAT… in RegionIN865RxParamSetupReq()
692 ( rxParamSetupReq->Datarate == DR_6 ) ) in RegionIN865RxParamSetupReq()
698 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR… in RegionIN865RxParamSetupReq()
DRegionRU864.c657 uint8_t RegionRU864RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionRU864RxParamSetupReq() argument
662 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionRU864RxParamSetupReq()
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()
DRegionEU433.c658 uint8_t RegionEU433RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionEU433RxParamSetupReq() argument
663 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionEU433RxParamSetupReq()
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()
DRegionEU868.c689 uint8_t RegionEU868RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionEU868RxParamSetupReq() argument
695 if( VerifyRfFreq( rxParamSetupReq->Frequency, &band ) == false ) in RegionEU868RxParamSetupReq()
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()
DRegionCN779.c658 uint8_t RegionCN779RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionCN779RxParamSetupReq() argument
663 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionCN779RxParamSetupReq()
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()
DRegionKR920.c667 uint8_t RegionKR920RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionKR920RxParamSetupReq() argument
672 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionKR920RxParamSetupReq()
678 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, KR920_RX_MIN_DATARATE, KR920_RX_MAX_DATAR… in RegionKR920RxParamSetupReq()
684 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, KR920_MIN_RX1_DR_OFFSET, KR920_MAX_RX1_DR… in RegionKR920RxParamSetupReq()
DRegionAS923.c867 uint8_t RegionAS923RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionAS923RxParamSetupReq() argument
872 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionAS923RxParamSetupReq()
878 …if( RegionCommonValueInRange( rxParamSetupReq->Datarate, AS923_RX_MIN_DATARATE, AS923_RX_MAX_DATAR… in RegionAS923RxParamSetupReq()
884 …if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, AS923_MIN_RX1_DR_OFFSET, AS923_MAX_RX1_DR… in RegionAS923RxParamSetupReq()
DRegionCN470.c885 uint8_t RegionCN470RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq ) in RegionCN470RxParamSetupReq() argument
890 if( VerifyRfFreq( rxParamSetupReq->Frequency ) == false ) in RegionCN470RxParamSetupReq()
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()
DRegionRU864.h347 uint8_t RegionRU864RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionCN779.h351 uint8_t RegionCN779RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionEU433.h352 uint8_t RegionEU433RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionKR920.h354 uint8_t RegionKR920RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionUS915.h344 uint8_t RegionUS915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionEU868.h380 uint8_t RegionEU868RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionAU915.h364 uint8_t RegionAU915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionIN865.h369 uint8_t RegionIN865RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionCN470.h361 uint8_t RegionCN470RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegionAS923.h429 uint8_t RegionAS923RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
DRegion.h1038 uint8_t RegionRxParamSetupReq( LoRaMacRegion_t region, RxParamSetupReqParams_t* rxParamSetupReq );
/loramac-node-latest/src/mac/
DLoRaMac.c2301 RxParamSetupReqParams_t rxParamSetupReq; in ProcessMacCommands() local
2304 rxParamSetupReq.DrOffset = ( payload[macIndex] >> 4 ) & 0x07; in ProcessMacCommands()
2305 rxParamSetupReq.Datarate = payload[macIndex] & 0x0F; in ProcessMacCommands()
2308 if( rxParamSetupReq.Datarate == 0x0F ) in ProcessMacCommands()
2311 rxParamSetupReq.Datarate = Nvm.MacGroup2.MacParams.Rx2Channel.Datarate; in ProcessMacCommands()
2314 rxParamSetupReq.Frequency = ( uint32_t ) payload[macIndex++]; in ProcessMacCommands()
2315 rxParamSetupReq.Frequency |= ( uint32_t ) payload[macIndex++] << 8; in ProcessMacCommands()
2316 rxParamSetupReq.Frequency |= ( uint32_t ) payload[macIndex++] << 16; in ProcessMacCommands()
2317 rxParamSetupReq.Frequency *= 100; in ProcessMacCommands()
2320 status = RegionRxParamSetupReq( Nvm.MacGroup2.Region, &rxParamSetupReq ); in ProcessMacCommands()
[all …]