-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
I noticed that my device even the paired with the central, upon restart it would not connect automatically. I started debugging and noticed that GattConnectionEvent::PairingComplete always returns bond as None (meaning the bond information will not be stored in NvM). I tried with different central devices (windows pc, linux pc, android phone) but it would still be the same outcome. security_level returns encrypted tho.
Just to be clear, this was working as expected some time ago in my fw.
GattConnectionEvent::PairingComplete {
security_level,
bond,
} => {
info!("[gatt] pairing complete: {:?}", security_level);
if let Some(bond) = bond {
store_bonding_info(storage, &bond)
.await
.expect("[gatt] error storing bond info");
*bond_stored = true;
info!("[gatt] bond information stored");
}
}
...
Metadata
Metadata
Assignees
Labels
No labels