LoRa/STM32WL: 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.
This commit is contained in:
parent
c4cbb89fcd
commit
ef4a20f67b
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user