1188: LoRa timings for SX126x/STM32WL r=lulf a=samueltardieu

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.


Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
This commit is contained in:
bors[bot] 2023-02-02 12:09:22 +00:00 committed by GitHub
commit 9af25c3396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -260,10 +260,10 @@ impl From<embassy_stm32::spi::Error> for RadioError {
impl<'d, RS> Timings for SubGhzRadio<'d, RS> { impl<'d, RS> Timings for SubGhzRadio<'d, RS> {
fn get_rx_window_offset_ms(&self) -> i32 { fn get_rx_window_offset_ms(&self) -> i32 {
-500 -3
} }
fn get_rx_window_duration_ms(&self) -> u32 { fn get_rx_window_duration_ms(&self) -> u32 {
3000 1003
} }
} }

View file

@ -55,10 +55,10 @@ where
BUS: Error + Format + 'static, BUS: Error + Format + 'static,
{ {
fn get_rx_window_offset_ms(&self) -> i32 { fn get_rx_window_offset_ms(&self) -> i32 {
-500 -3
} }
fn get_rx_window_duration_ms(&self) -> u32 { fn get_rx_window_duration_ms(&self) -> u32 {
800 1003
} }
} }