mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-04 17:09:34 +00:00
linux-rust: remove sampling period from LE scanner
tbh, I did not want to get results right away; batching would have been fine. But, BlueR seems to give the first scan result only after 10s if I set sampling period.
This commit is contained in:
@@ -97,7 +97,7 @@ pub async fn start_le_monitor(tray_handle: Option<ksni::Handle<MyTray>>) -> blue
|
||||
rssi_high_threshold: None,
|
||||
rssi_low_timeout: None,
|
||||
rssi_high_timeout: None,
|
||||
rssi_sampling_period: Some(RssiSamplingPeriod::Period(Duration::from_millis(100))),
|
||||
rssi_sampling_period: None,
|
||||
patterns: Some(vec![pattern]),
|
||||
..Default::default()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user