/loramac-node-latest/src/mac/region/ |
D | RegionRU864.c | 471 bool RegionRU864RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionRU864RxConfig() argument 474 int8_t dr = rxConfig->Datarate; in RegionRU864RxConfig() 476 uint32_t frequency = rxConfig->Frequency; in RegionRU864RxConfig() 483 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionRU864RxConfig() 486 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionRU864RxConfig() 488 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionRU864RxConfig() 490 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionRU864RxConfig() 503 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionRU864RxConfig() 508 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionRU864RxConfig()
|
D | RegionEU433.c | 472 bool RegionEU433RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionEU433RxConfig() argument 475 int8_t dr = rxConfig->Datarate; in RegionEU433RxConfig() 477 uint32_t frequency = rxConfig->Frequency; in RegionEU433RxConfig() 484 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionEU433RxConfig() 487 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionEU433RxConfig() 489 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionEU433RxConfig() 491 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionEU433RxConfig() 504 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionEU433RxConfig() 509 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionEU433RxConfig()
|
D | RegionEU868.c | 503 bool RegionEU868RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionEU868RxConfig() argument 506 int8_t dr = rxConfig->Datarate; in RegionEU868RxConfig() 508 uint32_t frequency = rxConfig->Frequency; in RegionEU868RxConfig() 515 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionEU868RxConfig() 518 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionEU868RxConfig() 520 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionEU868RxConfig() 522 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionEU868RxConfig() 535 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionEU868RxConfig() 540 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionEU868RxConfig()
|
D | RegionIN865.c | 486 bool RegionIN865RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionIN865RxConfig() argument 489 int8_t dr = rxConfig->Datarate; in RegionIN865RxConfig() 491 uint32_t frequency = rxConfig->Frequency; in RegionIN865RxConfig() 498 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionIN865RxConfig() 501 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionIN865RxConfig() 503 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionIN865RxConfig() 505 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionIN865RxConfig() 518 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionIN865RxConfig() 523 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionIN865RxConfig()
|
D | RegionCN779.c | 472 bool RegionCN779RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionCN779RxConfig() argument 475 int8_t dr = rxConfig->Datarate; in RegionCN779RxConfig() 477 uint32_t frequency = rxConfig->Frequency; in RegionCN779RxConfig() 484 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionCN779RxConfig() 487 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionCN779RxConfig() 489 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionCN779RxConfig() 491 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionCN779RxConfig() 504 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionCN779RxConfig() 509 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionCN779RxConfig()
|
D | RegionAS923.c | 681 bool RegionAS923RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionAS923RxConfig() argument 684 int8_t dr = rxConfig->Datarate; in RegionAS923RxConfig() 686 uint32_t frequency = rxConfig->Frequency; in RegionAS923RxConfig() 693 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionAS923RxConfig() 696 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionAS923RxConfig() 698 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionAS923RxConfig() 700 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionAS923RxConfig() 713 …ig( modem, 50000, phyDr * 1000, 0, 83333, 5, rxConfig->WindowTimeout, false, 0, true, 0, 0, false,… in RegionAS923RxConfig() 718 …Radio.SetRxConfig( modem, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0, … in RegionAS923RxConfig()
|
D | RegionCN470.c | 718 bool RegionCN470RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionCN470RxConfig() argument 720 int8_t dr = rxConfig->Datarate; in RegionCN470RxConfig() 722 uint32_t frequency = rxConfig->Frequency; in RegionCN470RxConfig() 730 if( rxConfig->NetworkActivation != ACTIVATION_TYPE_NONE ) in RegionCN470RxConfig() 734 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionCN470RxConfig() 737 frequency = ChannelPlanCtx.GetRx1Frequency( rxConfig->Channel ); in RegionCN470RxConfig() 739 else if( rxConfig->RxSlot == RX_SLOT_WIN_2 ) in RegionCN470RxConfig() 749 frequency = CommonJoinChannels[rxConfig->Channel].Rx1Frequency; in RegionCN470RxConfig() 758 …o.SetRxConfig( MODEM_LORA, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0,… in RegionCN470RxConfig()
|
D | RegionKR920.c | 498 bool RegionKR920RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionKR920RxConfig() argument 500 int8_t dr = rxConfig->Datarate; in RegionKR920RxConfig() 502 uint32_t frequency = rxConfig->Frequency; in RegionKR920RxConfig() 509 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionKR920RxConfig() 512 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionKR920RxConfig() 514 if( RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency != 0 ) in RegionKR920RxConfig() 516 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionKR920RxConfig() 526 …o.SetRxConfig( MODEM_LORA, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0,… in RegionKR920RxConfig()
|
D | Region.c | 45 …_CONFIG( ) AS923_CASE { return RegionAS923RxConfig( rxConfig, datarate ); } 94 …_CONFIG( ) AU915_CASE { return RegionAU915RxConfig( rxConfig, datarate ); } 143 …_CONFIG( ) CN470_CASE { return RegionCN470RxConfig( rxConfig, datarate ); } 192 …_CONFIG( ) CN779_CASE { return RegionCN779RxConfig( rxConfig, datarate ); } 241 …_CONFIG( ) EU433_CASE { return RegionEU433RxConfig( rxConfig, datarate ); } 290 …_CONFIG( ) EU868_CASE { return RegionEU868RxConfig( rxConfig, datarate ); } 339 …_CONFIG( ) KR920_CASE { return RegionKR920RxConfig( rxConfig, datarate ); } 388 …_CONFIG( ) IN865_CASE { return RegionIN865RxConfig( rxConfig, datarate ); } 437 …_CONFIG( ) US915_CASE { return RegionUS915RxConfig( rxConfig, datarate ); } 486 …_CONFIG( ) RU864_CASE { return RegionRU864RxConfig( rxConfig, datarate ); } [all …]
|
D | RegionUS915.c | 513 bool RegionUS915RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionUS915RxConfig() argument 515 int8_t dr = rxConfig->Datarate; in RegionUS915RxConfig() 517 uint32_t frequency = rxConfig->Frequency; in RegionUS915RxConfig() 524 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionUS915RxConfig() 527 … frequency = US915_FIRST_RX1_CHANNEL + ( rxConfig->Channel % 8 ) * US915_STEPWIDTH_RX1_CHANNEL; in RegionUS915RxConfig() 536 …o.SetRxConfig( MODEM_LORA, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0,… in RegionUS915RxConfig()
|
D | RegionAU915.c | 516 bool RegionAU915RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate ) in RegionAU915RxConfig() argument 518 int8_t dr = rxConfig->Datarate; in RegionAU915RxConfig() 520 uint32_t frequency = rxConfig->Frequency; in RegionAU915RxConfig() 527 if( rxConfig->RxSlot == RX_SLOT_WIN_1 ) in RegionAU915RxConfig() 530 … frequency = AU915_FIRST_RX1_CHANNEL + ( rxConfig->Channel % 8 ) * AU915_STEPWIDTH_RX1_CHANNEL; in RegionAU915RxConfig() 539 …o.SetRxConfig( MODEM_LORA, rxConfig->Bandwidth, phyDr, 1, 0, 8, rxConfig->WindowTimeout, false, 0,… in RegionAU915RxConfig()
|
D | RegionRU864.h | 316 bool RegionRU864RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionCN779.h | 320 bool RegionCN779RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionEU433.h | 321 bool RegionEU433RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionKR920.h | 323 bool RegionKR920RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionUS915.h | 313 bool RegionUS915RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionEU868.h | 349 bool RegionEU868RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionAU915.h | 333 bool RegionAU915RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionIN865.h | 338 bool RegionIN865RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionCN470.h | 330 bool RegionCN470RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | RegionAS923.h | 398 bool RegionAS923RxConfig( RxConfigParams_t* rxConfig, int8_t* datarate );
|
D | Region.h | 938 bool RegionRxConfig( LoRaMacRegion_t region, RxConfigParams_t* rxConfig, int8_t* datarate );
|
/loramac-node-latest/src/mac/ |
D | LoRaMacClassB.c | 248 static void CalculateBeaconRxWindowConfig( RxConfigParams_t* rxConfig, uint16_t currentSymbolTimeou… in CalculateBeaconRxWindowConfig() argument 254 rxConfig->WindowTimeout = currentSymbolTimeout; in CalculateBeaconRxWindowConfig() 255 rxConfig->WindowOffset = 0; in CalculateBeaconRxWindowConfig() 275 rxConfig ); in CalculateBeaconRxWindowConfig()
|
D | LoRaMac.c | 545 static void RxWindowSetup( TimerEvent_t* rxTimer, RxConfigParams_t* rxConfig ); 3243 static void RxWindowSetup( TimerEvent_t* rxTimer, RxConfigParams_t* rxConfig ) in RxWindowSetup() argument 3250 …if( RegionRxConfig( Nvm.MacGroup2.Region, rxConfig, ( int8_t* )&MacCtx.McpsIndication.RxDatarate )… in RxWindowSetup() 3253 MacCtx.RxSlot = rxConfig->RxSlot; in RxWindowSetup()
|