Connection failed: Device not found
pH-Valiu opened this issue · 4 comments
pH-Valiu commented
Jakeler commented
Try with --address-type random
pH-Valiu commented
Thank you, this fixed it.
Would you like to explain me why that made a difference?
Jakeler commented
The process to establish a connection can be different, depending on the type it first has to cryptographically derive the actual address. See: https://novelbits.io/bluetooth-address-privacy-ble/
In your case it's the random static type (0xFF is ..11).
I could probably make this parameter optional though, because the ble stack already knows which one it is when it detects the device/advertisement.
pH-Valiu commented
Thank you for the answer