FrSky D16 LBT v1.x & 2.1: adjust thresholds to match ETSI requirements

This commit is contained in:
Pascal Langer
2020-05-02 18:20:47 +02:00
parent 2be757e609
commit 957d623b4b
3 changed files with 14 additions and 3 deletions

View File

@@ -302,10 +302,10 @@ uint16_t ReadFrSkyX()
uint8_t rssi_level=convert_channel_8b(CH16)>>1; //CH16 0..127
if ( rssi > rssi_level && rssi < 128) //test rssi level dynamically
#else
if ( rssi > 72 && rssi < 128) //LBT and RSSI between -36 and -8.5 dBm
if ( rssi > 14 && rssi < 128) // if RSSI above -65dBm (12=-70) => ETSI requirement
#endif
{
POWER_FLAG_off; // Reduce to low power before transmitting
LBT_POWER_on; // Reduce to low power before transmitting
debugln("Busy %d %d",hopping_frequency_no,rssi);
}
}