-
Notifications
You must be signed in to change notification settings - Fork 389
Description
-
I guess this doesn't make sense to change as it already has requirements which have to be checked:
esp-hal/esp-radio/src/ble/os_adapter_esp32c3_s3.rs
Lines 411 to 414 in f45fcc7
/// Scan duplicate filtering list refresh period in seconds. /// /// Range: 0 - 1000 seconds scan_duplicate_refresh_period: u16, -
EspNowManagerandEspNow:esp-hal/esp-radio/src/esp_now/mod.rs
Lines 517 to 520 in 2be0272
#[instability::unstable] pub fn set_wake_window(&self, wake_window: u16) -> Result<(), EspNowError> { check_error!({ esp_now_set_wake_window(wake_window) }) } -
WifiCsiInfo:esp-hal/esp-radio/src/wifi/csi.rs
Lines 135 to 139 in 2be0272
/// The local time in microseconds when this packet is received. It is precise only if modem /// sleep or light sleep is not enabled. pub fn timestamp(&self) -> u32 { unsafe { (*self.inner).rx_ctrl.timestamp() as u32 } } -
FineTimingMeasurementReportEntryhas a bunch of functions:esp-hal/esp-radio/src/wifi/event.rs
Lines 391 to 394 in 2be0272
/// Gets the Round Trip Time (RTT) in picoseconds. pub fn rtt(&self) -> u32 { self.0.rtt }
but this is in picoseconds and I'm afraid that usingmicrosand math will ruin the recision here -
FineTimingMeasurementReportsame as 4 butnanosecond:esp-hal/esp-radio/src/wifi/event.rs
Lines 428 to 431 in 2be0272
/// Get the raw round-trip time (RTT) in nanoseconds. pub fn rtt_raw(&self) -> u32 { self.0.rtt_raw }
I hope I didn't miss any other pub appearance. I think it doesn't make too much sense to do that for NON-pub API.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status