Merge #1188
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:
commit
9af25c3396
2 changed files with 4 additions and 4 deletions
|
@ -260,10 +260,10 @@ impl From<embassy_stm32::spi::Error> for RadioError {
|
|||
|
||||
impl<'d, RS> Timings for SubGhzRadio<'d, RS> {
|
||||
fn get_rx_window_offset_ms(&self) -> i32 {
|
||||
-500
|
||||
-3
|
||||
}
|
||||
fn get_rx_window_duration_ms(&self) -> u32 {
|
||||
3000
|
||||
1003
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue