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:
Kavish Devar
2025-10-27 17:41:16 +05:30
parent 26cee5c8a5
commit 3a0cc2e7f4

View File

@@ -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()
})