Replies: 1 comment
-
When connecting, the public address is updated by bluez. Logs of a connection to the device.
The last |
Beta Was this translation helpful? Give feedback.
-
When connecting, the public address is updated by bluez. Logs of a connection to the device.
The last |
Beta Was this translation helpful? Give feedback.
-
I have a that advertises on random addresses. I have written code that successfully scans for, and pairs to the device. But I can't find a way to obtain the device's public address after the pairing, which I need to connect to the device in the future.
For example, the peripheral will advertise with address
55:07:64:6B:82:53
(this address changes every time), and after being pairedbluetoothctl
will show the peripheral paired with address60:BE:C4:0A:7B:04
(this is always the same address after pairing).The Linux kernel pair system call copies in the public address at the end of a successful pairing, so the public address is available somewhere but I don't know how to find it with Bleak.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions