You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unhexify part with the colons suggests the bt address is passed up to the application in big endian. You don't see BT addresses expressed in little endian with colons.
The normal way one would write the BT address on a device is ae:f4:27:9F:d2:ee. In BLE this would be transmitted as ee d2 9f 27 f4 ae.
It's not clear what I get in ScanResult.device.addr
is it ee d2 9f 27 f4 ae or ae f4 27 9F d2 ee?
The text was updated successfully, but these errors were encountered:
From what I am seeing it appears that you get back ae f4 27 9F d2 ee from entering ae:f4:27:9F:d2:ee. I don't see anywhere where the address gets packed into big endian. Although I admit my ignorance as to the fine details of the bluetooth module.
In the aioble code there is a line like this:
self.addr: bytes = addr if len(addr) == 6 else binascii.unhexlify(addr.replace(":", ""))
The unhexify part with the colons suggests the bt address is passed up to the application in big endian. You don't see BT addresses expressed in little endian with colons.
The normal way one would write the BT address on a device is
ae:f4:27:9F:d2:ee
. In BLE this would be transmitted asee d2 9f 27 f4 ae
.It's not clear what I get in
ScanResult.device.addr
is it
ee d2 9f 27 f4 ae
orae f4 27 9F d2 ee
?The text was updated successfully, but these errors were encountered: