/loramac-node-latest/src/mac/region/ |
D | Region.c | 48 …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 …]
|
D | RegionUS915.c | 730 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()
|
D | RegionAU915.c | 732 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()
|
D | RegionIN865.c | 679 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()
|
D | RegionRU864.c | 657 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()
|
D | RegionEU433.c | 658 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()
|
D | RegionEU868.c | 689 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()
|
D | RegionCN779.c | 658 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()
|
D | RegionKR920.c | 667 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()
|
D | RegionAS923.c | 867 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()
|
D | RegionCN470.c | 885 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()
|
D | RegionRU864.h | 347 uint8_t RegionRU864RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionCN779.h | 351 uint8_t RegionCN779RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionEU433.h | 352 uint8_t RegionEU433RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionKR920.h | 354 uint8_t RegionKR920RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionUS915.h | 344 uint8_t RegionUS915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionEU868.h | 380 uint8_t RegionEU868RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionAU915.h | 364 uint8_t RegionAU915RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionIN865.h | 369 uint8_t RegionIN865RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionCN470.h | 361 uint8_t RegionCN470RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | RegionAS923.h | 429 uint8_t RegionAS923RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq );
|
D | Region.h | 1038 uint8_t RegionRxParamSetupReq( LoRaMacRegion_t region, RxParamSetupReqParams_t* rxParamSetupReq );
|
/loramac-node-latest/src/mac/ |
D | LoRaMac.c | 2301 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 …]
|