LoRaRC icon indicating copy to clipboard operation
LoRaRC copied to clipboard

Hop timeout change

Open spleenware opened this issue 6 years ago • 0 comments

Hi,

I tried a small change to the receiver, when calculating a missed hop, and seems to improve the time to 'recover' and get back in sync. In LoraRC.ino, here's the patch:

       #endif
     RX_last_frame_received = millis();
  •    RX_hopping_time = micros()  + (TX_period * 2);
    
  •    RX_hopping_time = micros()  + (TX_period * 3 /2);
       if (RX_RSSI < power_thr_low && power_delay_counter-- == 0) {
         power_increase();
         power_delay_counter = TX_POWER_DELAY_FILTER;
    

spleenware avatar Oct 09 '19 04:10 spleenware