ble: Tweak advertisement parameters
This commit is contained in:
parent
9a820356ff
commit
e47266f410
1 changed files with 5 additions and 1 deletions
|
|
@ -198,7 +198,11 @@ async fn advertise<'values, 'server, C: Controller>(
|
|||
let advertiser = peripheral
|
||||
.advertise(
|
||||
&trouble_host::advertise::AdvertisementParameters {
|
||||
timeout: Some(embassy_time::Duration::from_secs(2)),
|
||||
primary_phy: PhyKind::Le2M,
|
||||
secondary_phy: PhyKind::Le2M,
|
||||
timeout: Some(embassy_time::Duration::from_secs(3)),
|
||||
interval_min: embassy_time::Duration::from_millis(150),
|
||||
interval_max: embassy_time::Duration::from_secs(1),
|
||||
..Default::default()
|
||||
},
|
||||
Advertisement::ConnectableScannableUndirected {
|
||||
|
|
|
|||
Loading…
Reference in a new issue