/loramac-node-latest/src/radio/lr1110/ |
D | radio.c | 128 void RadioSetRxConfig( RadioModems_t modem, uint32_t bandwidth, uint32_t datarate, uint8_t coderate, 168 void RadioSetTxConfig( RadioModems_t modem, int8_t power, uint32_t fdev, uint32_t bandwidth, uint32… 206 uint32_t RadioTimeOnAir( RadioModems_t modem, uint32_t bandwidth, 379 uint32_t bandwidth; member 469 static uint8_t RadioGetFskBandwidthRegValue( uint32_t bandwidth ) in RadioGetFskBandwidthRegValue() argument 473 if( bandwidth == 0 ) in RadioGetFskBandwidthRegValue() 480 …if( ( bandwidth >= FskBandwidths[i].bandwidth ) && ( bandwidth < FskBandwidths[i + 1].bandwidth ) ) in RadioGetFskBandwidthRegValue() 601 void RadioSetRxConfig( RadioModems_t modem, uint32_t bandwidth, uint32_t datarate, uint8_t coderate, in RadioSetRxConfig() argument 628 LR1110.modulation_params.modulation.gfsk.bandwidth = in RadioSetRxConfig() 629 …( lr1110_radio_gfsk_rx_bw_t ) RadioGetFskBandwidthRegValue( bandwidth << 1 ); // LR1110 badwidth i… in RadioSetRxConfig() [all …]
|
/loramac-node-latest/src/radio/sx126x/ |
D | radio.c | 126 void RadioSetRxConfig( RadioModems_t modem, uint32_t bandwidth, 170 uint32_t bandwidth, uint32_t datarate, 209 uint32_t RadioTimeOnAir( RadioModems_t modem, uint32_t bandwidth, 391 uint32_t bandwidth; member 500 static uint8_t RadioGetFskBandwidthRegValue( uint32_t bandwidth ) in RadioGetFskBandwidthRegValue() argument 504 if( bandwidth == 0 ) in RadioGetFskBandwidthRegValue() 511 …if( ( bandwidth >= FskBandwidths[i].bandwidth ) && ( bandwidth < FskBandwidths[i + 1].bandwidth ) ) in RadioGetFskBandwidthRegValue() 638 void RadioSetRxConfig( RadioModems_t modem, uint32_t bandwidth, in RadioSetRxConfig() argument 669 …SX126x.ModulationParams.Params.Gfsk.Bandwidth = RadioGetFskBandwidthRegValue( bandwidth << 1 ); //… in RadioSetRxConfig() 702 SX126x.ModulationParams.Params.LoRa.Bandwidth = Bandwidths[bandwidth]; in RadioSetRxConfig() [all …]
|
/loramac-node-latest/src/radio/sx1276/ |
D | sx1276.c | 73 uint32_t bandwidth; member 185 static uint32_t SX1276GetLoRaTimeOnAirNumerator( uint32_t bandwidth, 469 void SX1276SetRxConfig( RadioModems_t modem, uint32_t bandwidth, in SX1276SetRxConfig() argument 485 SX1276.Settings.Fsk.Bandwidth = bandwidth; in SX1276SetRxConfig() 500 SX1276Write( REG_RXBW, GetFskBandwidthRegValue( bandwidth ) ); in SX1276SetRxConfig() 526 if( bandwidth > 2 ) in SX1276SetRxConfig() 531 bandwidth += 7; in SX1276SetRxConfig() 532 SX1276.Settings.LoRa.Bandwidth = bandwidth; in SX1276SetRxConfig() 553 if( ( ( bandwidth == 7 ) && ( ( datarate == 11 ) || ( datarate == 12 ) ) ) || in SX1276SetRxConfig() 554 ( ( bandwidth == 8 ) && ( datarate == 12 ) ) ) in SX1276SetRxConfig() [all …]
|
D | sx1276.h | 262 void SX1276SetRxConfig( RadioModems_t modem, uint32_t bandwidth, 308 uint32_t bandwidth, uint32_t datarate, 339 uint32_t SX1276GetTimeOnAir( RadioModems_t modem, uint32_t bandwidth,
|
/loramac-node-latest/src/radio/sx1272/ |
D | sx1272.c | 71 uint32_t bandwidth; member 177 static uint32_t SX1272GetLoRaTimeOnAirNumerator( uint32_t bandwidth, 418 void SX1272SetRxConfig( RadioModems_t modem, uint32_t bandwidth, in SX1272SetRxConfig() argument 434 SX1272.Settings.Fsk.Bandwidth = bandwidth; in SX1272SetRxConfig() 449 SX1272Write( REG_RXBW, GetFskBandwidthRegValue( bandwidth ) ); in SX1272SetRxConfig() 475 SX1272.Settings.LoRa.Bandwidth = bandwidth; in SX1272SetRxConfig() 496 if( ( ( bandwidth == 0 ) && ( ( datarate == 11 ) || ( datarate == 12 ) ) ) || in SX1272SetRxConfig() 497 ( ( bandwidth == 1 ) && ( datarate == 12 ) ) ) in SX1272SetRxConfig() 513 ( bandwidth << 6 ) | ( coderate << 3 ) | in SX1272SetRxConfig() 564 uint32_t bandwidth, uint32_t datarate, in SX1272SetTxConfig() argument [all …]
|
D | sx1272.h | 260 void SX1272SetRxConfig( RadioModems_t modem, uint32_t bandwidth, 304 uint32_t bandwidth, uint32_t datarate, 335 uint32_t SX1272GetTimeOnAir( RadioModems_t modem, uint32_t bandwidth,
|
/loramac-node-latest/src/radio/ |
D | radio.h | 203 void ( *SetRxConfig )( RadioModems_t modem, uint32_t bandwidth, 246 uint32_t bandwidth, uint32_t datarate, 283 uint32_t ( *TimeOnAir )( RadioModems_t modem, uint32_t bandwidth,
|
/loramac-node-latest/src/mac/region/ |
D | RegionRU864.c | 65 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsRU864 ); in GetTimeOnAir() local 70 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 74 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 522 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsRU864 ); in RegionRU864TxConfig() local 534 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionRU864TxConfig() 539 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionRU864TxConfig()
|
D | RegionEU433.c | 64 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsEU433 ); in GetTimeOnAir() local 69 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 73 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 523 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsEU433 ); in RegionEU433TxConfig() local 535 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionEU433TxConfig() 540 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionEU433TxConfig()
|
D | RegionEU868.c | 89 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsEU868 ); in GetTimeOnAir() local 94 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 98 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 554 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsEU868 ); in RegionEU868TxConfig() local 566 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionEU868TxConfig() 571 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionEU868TxConfig()
|
D | RegionIN865.c | 64 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsIN865 ); in GetTimeOnAir() local 69 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 73 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 537 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsIN865 ); in RegionIN865TxConfig() local 549 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionIN865TxConfig() 554 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionIN865TxConfig()
|
D | RegionCN779.c | 64 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsCN779 ); in GetTimeOnAir() local 69 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 73 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 523 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsCN779 ); in RegionCN779TxConfig() local 535 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionCN779TxConfig() 540 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionCN779TxConfig()
|
D | RegionAS923.c | 230 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsAS923 ); in GetTimeOnAir() local 235 … timeOnAir = Radio.TimeOnAir( MODEM_FSK, bandwidth, phyDr * 1000, 0, 5, false, pktLen, true ); in GetTimeOnAir() 239 timeOnAir = Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 732 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsAS923 ); in RegionAS923TxConfig() local 744 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionAS923TxConfig() 749 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionAS923TxConfig()
|
D | RegionCN470.c | 289 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsCN470 ); in GetTimeOnAir() local 291 return Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 771 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsCN470 ); in RegionCN470TxConfig() local 783 …Radio.SetTxConfig( modem, phyTxPower, 25000, bandwidth, phyDr * 1000, 0, 5, false, true, 0, 0, fal… in RegionCN470TxConfig() 788 … Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 4000 ); in RegionCN470TxConfig()
|
D | RegionUS915.c | 97 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsUS915 ); in GetTimeOnAir() local 99 return Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 548 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsUS915 ); in RegionUS915TxConfig() local 557 …Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 40… in RegionUS915TxConfig()
|
D | RegionAU915.c | 77 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsAU915 ); in GetTimeOnAir() local 79 return Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 551 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsAU915 ); in RegionAU915TxConfig() local 560 …Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 40… in RegionAU915TxConfig()
|
D | RegionKR920.c | 99 uint32_t bandwidth = RegionCommonGetBandwidth( datarate, BandwidthsKR920 ); in GetTimeOnAir() local 101 return Radio.TimeOnAir( MODEM_LORA, bandwidth, phyDr, 1, 8, false, pktLen, true ); in GetTimeOnAir() 537 uint32_t bandwidth = RegionCommonGetBandwidth( txConfig->Datarate, BandwidthsKR920 ); in RegionKR920TxConfig() local 551 …Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 40… in RegionKR920TxConfig()
|
/loramac-node-latest/ |
D | CHANGELOG.md | 285 - Add to AS923 and KR920 regions a definition for the Rx bandwidth to be used while executing the L… 295 - Changed radio `IsChannelFree API` in order to provide reception bandwidth 316 - Fixed GFSK bandwidth handling for SX126x and LR1110 radios. 844 - Fixed the 250 kHz bandwidth choice for the FSK modem 858 - Added an invalid bandwidth to the Bandwidths table in order to avoid an error 859 when selecting 250 kHz bandwidth when using FSK modem
|