/loramac-node-3.6.0-3.5.0/src/mac/region/ |
D | RegionAS923.c | 533 bool RegionAS923Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionAS923Verify() argument 539 return VerifyRfFreq( verify->Frequency ); in RegionAS923Verify() 543 if( verify->DatarateParams.UplinkDwellTime == 0 ) in RegionAS923Verify() 545 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_TX_MIN_DATARATE, AS923_TX_… in RegionAS923Verify() 549 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_DWELL_LIMIT_DATARATE, AS92… in RegionAS923Verify() 554 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionAS923Verify() 558 if( verify->DatarateParams.DownlinkDwellTime == 0 ) in RegionAS923Verify() 560 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_RX_MIN_DATARATE, AS923_RX_… in RegionAS923Verify() 564 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, AS923_DWELL_LIMIT_DATARATE, AS92… in RegionAS923Verify() 571 … return RegionCommonValueInRange( verify->TxPower, AS923_MAX_TX_POWER, AS923_MIN_TX_POWER ); in RegionAS923Verify()
|
D | RegionAU915.c | 401 bool RegionAU915Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionAU915Verify() argument 407 return VerifyRfFreq( verify->Frequency ); in RegionAU915Verify() 412 if( verify->DatarateParams.UplinkDwellTime == 0 ) in RegionAU915Verify() 414 …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() 423 if( verify->DatarateParams.UplinkDwellTime == 0 ) 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()
|
D | Region.c | 41 #define AS923_VERIFY( ) AS923_CASE { return RegionAS923Verify( verify, p… 90 #define AU915_VERIFY( ) AU915_CASE { return RegionAU915Verify( verify, p… 139 #define CN470_VERIFY( ) CN470_CASE { return RegionCN470Verify( verify, p… 188 #define CN779_VERIFY( ) CN779_CASE { return RegionCN779Verify( verify, p… 237 #define EU433_VERIFY( ) EU433_CASE { return RegionEU433Verify( verify, p… 286 #define EU868_VERIFY( ) EU868_CASE { return RegionEU868Verify( verify, p… 335 #define KR920_VERIFY( ) KR920_CASE { return RegionKR920Verify( verify, p… 384 #define IN865_VERIFY( ) IN865_CASE { return RegionIN865Verify( verify, p… 433 #define US915_VERIFY( ) US915_CASE { return RegionUS915Verify( verify, p… 482 #define RU864_VERIFY( ) RU864_CASE { return RegionRU864Verify( verify, p… [all …]
|
D | RegionIN865.c | 338 bool RegionIN865Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionIN865Verify() argument 344 return VerifyRfFreq( verify->Frequency ); in RegionIN865Verify() 348 if( verify->DatarateParams.Datarate == DR_6 ) in RegionIN865Verify() 354 …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() 363 if( verify->DatarateParams.Datarate == DR_6 ) 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()
|
D | RegionCN779.c | 338 bool RegionCN779Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionCN779Verify() argument 344 return VerifyRfFreq( verify->Frequency ); in RegionCN779Verify() 348 …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()
|
D | RegionEU433.c | 338 bool RegionEU433Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionEU433Verify() argument 344 return VerifyRfFreq( verify->Frequency ); in RegionEU433Verify() 348 …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()
|
D | RegionEU868.c | 368 bool RegionEU868Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionEU868Verify() argument 375 return VerifyRfFreq( verify->Frequency, &band ); in RegionEU868Verify() 379 …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()
|
D | RegionKR920.c | 371 bool RegionKR920Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionKR920Verify() argument 377 return VerifyRfFreq( verify->Frequency ); in RegionKR920Verify() 381 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, KR920_TX_MIN_DATARATE, KR920_TX_… in RegionKR920Verify() 385 return RegionCommonValueInRange( verify->DatarateParams.Datarate, DR_0, DR_5 ); in RegionKR920Verify() 389 …return RegionCommonValueInRange( verify->DatarateParams.Datarate, KR920_RX_MIN_DATARATE, KR920_RX_… in RegionKR920Verify() 395 … return RegionCommonValueInRange( verify->TxPower, KR920_MAX_TX_POWER, KR920_MIN_TX_POWER ); in RegionKR920Verify()
|
D | RegionRU864.c | 337 bool RegionRU864Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionRU864Verify() argument 343 return VerifyRfFreq( verify->Frequency ); in RegionRU864Verify() 347 …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()
|
D | RegionUS915.c | 400 bool RegionUS915Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionUS915Verify() argument 406 return VerifyRfFreq( verify->Frequency ); in RegionUS915Verify() 410 …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()
|
D | RegionCN470.c | 610 bool RegionCN470Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute ) in RegionCN470Verify() argument 616 return VerifyRfFreq( verify->Frequency ); in RegionCN470Verify() 621 …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()
|
D | RegionCN779.h | 277 bool RegionCN779Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionEU433.h | 278 bool RegionEU433Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionKR920.h | 280 bool RegionKR920Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionRU864.h | 273 bool RegionRU864Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionEU868.h | 306 bool RegionEU868Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionUS915.h | 270 bool RegionUS915Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionAU915.h | 290 bool RegionAU915Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionIN865.h | 295 bool RegionIN865Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionCN470.h | 287 bool RegionCN470Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | RegionAS923.h | 355 bool RegionAS923Verify( VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
D | Region.h | 904 bool RegionVerify( LoRaMacRegion_t region, VerifyParams_t* verify, PhyAttribute_t phyAttribute );
|
/loramac-node-3.6.0-3.5.0/src/mac/ |
D | LoRaMac.c | 4299 VerifyParams_t verify; in LoRaMacMibSetRequestConfirm() local 4691 verify.DatarateParams.Datarate = mibSet->Param.Rx2Channel.Datarate; in LoRaMacMibSetRequestConfirm() 4692 verify.DatarateParams.DownlinkDwellTime = Nvm.MacGroup2.MacParams.DownlinkDwellTime; in LoRaMacMibSetRequestConfirm() 4694 if( RegionVerify( Nvm.MacGroup2.Region, &verify, PHY_RX_DR ) == true ) in LoRaMacMibSetRequestConfirm() 4706 verify.DatarateParams.Datarate = mibSet->Param.Rx2Channel.Datarate; in LoRaMacMibSetRequestConfirm() 4707 verify.DatarateParams.DownlinkDwellTime = Nvm.MacGroup2.MacParams.DownlinkDwellTime; in LoRaMacMibSetRequestConfirm() 4709 if( RegionVerify( Nvm.MacGroup2.Region, &verify, PHY_RX_DR ) == true ) in LoRaMacMibSetRequestConfirm() 4721 verify.DatarateParams.Datarate = mibSet->Param.RxCChannel.Datarate; in LoRaMacMibSetRequestConfirm() 4722 verify.DatarateParams.DownlinkDwellTime = Nvm.MacGroup2.MacParams.DownlinkDwellTime; in LoRaMacMibSetRequestConfirm() 4724 if( RegionVerify( Nvm.MacGroup2.Region, &verify, PHY_RX_DR ) == true ) in LoRaMacMibSetRequestConfirm() [all …]
|
D | LoRaMacClassB.c | 1615 VerifyParams_t verify; in LoRaMacClassBPingSlotChannelReq() local 1621 verify.Frequency = frequency; in LoRaMacClassBPingSlotChannelReq() 1622 … if( RegionVerify( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &verify, PHY_FREQUENCY ) == false ) in LoRaMacClassBPingSlotChannelReq() 1628 verify.DatarateParams.Datarate = datarate; in LoRaMacClassBPingSlotChannelReq() 1629 …verify.DatarateParams.DownlinkDwellTime = Ctx.LoRaMacClassBParams.LoRaMacParams->DownlinkDwellTime; in LoRaMacClassBPingSlotChannelReq() 1631 if( RegionVerify( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &verify, PHY_RX_DR ) == false ) in LoRaMacClassBPingSlotChannelReq() 1725 VerifyParams_t verify; in LoRaMacClassBBeaconFreqReq() local 1729 verify.Frequency = frequency; in LoRaMacClassBBeaconFreqReq() 1731 if( RegionVerify( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &verify, PHY_FREQUENCY ) == true ) in LoRaMacClassBBeaconFreqReq()
|
/loramac-node-3.6.0-3.5.0/ |
D | CHANGELOG.md | 38 - Added an option for MAC commands to verify against an explicit confirmation 39 - Added a check to verify that `SystemMaxRxError` provided value is in the range 0..500 ms 282 - Added to `FRAGMENTATION_FRAG_SESSION_SETUP_REQ` checks which verify `FragNb` and `FragSize` valid… 355 - Updated the implementation to verify the MAC commands size 555 - Added a function to verify the RX frequency of window 2 for US band 776 - Fixed handling of the MAC commands which was done incorrectly the condition to verify the length …
|