From c4cbb89fcd60375c4982a61fc3d9e5183f97d748 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 2 Feb 2023 12:51:47 +0100 Subject: [PATCH] LoRa/SX126x: adjust Rx window offset and duration Those timings open Rx time windows covering 99.7% of the one expected by the antenna while allowing 3ms for the Rx subsystem to start listening. --- embassy-lora/src/sx126x/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-lora/src/sx126x/mod.rs b/embassy-lora/src/sx126x/mod.rs index b14d422a..a9aeadfc 100644 --- a/embassy-lora/src/sx126x/mod.rs +++ b/embassy-lora/src/sx126x/mod.rs @@ -55,10 +55,10 @@ where BUS: Error + Format + 'static, { fn get_rx_window_offset_ms(&self) -> i32 { - -500 + -3 } fn get_rx_window_duration_ms(&self) -> u32 { - 800 + 1003 } }