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
I am unable to receive iBeacon advertisements on a Raspberry Pi with kernel 5.10.17+ using the bleak backend. I don't believe this is realted to he BlueZ "Duplicate Advertisements" issue because this seems to be fixed in Linux 5.9+ (after commit 8208f5a9d435e).
With DEBUG logging enabled, I can see that bleak receives the DBUS InterfaceAdd, PropertiesChanged, InterfacesRemoved sequence from the device:
However start_scan() never returns this advertisement. It appears that when bleio performs the _scan_for_interval(), the device gets added, changed and removed during the scan interval. Since the InterfacesRemoved event came in during the scan interval, get_discovered_devices() reports no device.
Looking at the bleak backend implmentation, it seems that the only way to guarantee receiving this advertisement would be to register a callback to handle the InterfaceAdd and PropertiesChanged events.
The text was updated successfully, but these errors were encountered:
I am unable to receive iBeacon advertisements on a Raspberry Pi with kernel 5.10.17+ using the bleak backend. I don't believe this is realted to he BlueZ "Duplicate Advertisements" issue because this seems to be fixed in Linux 5.9+ (after commit
8208f5a9d435e
).With DEBUG logging enabled, I can see that bleak receives the DBUS InterfaceAdd, PropertiesChanged, InterfacesRemoved sequence from the device:
However
start_scan()
never returns this advertisement. It appears that when bleio performs the_scan_for_interval()
, the device gets added, changed and removed during the scan interval. Since theInterfacesRemoved
event came in during the scan interval,get_discovered_devices()
reports no device.Looking at the bleak backend implmentation, it seems that the only way to guarantee receiving this advertisement would be to register a callback to handle the
InterfaceAdd
andPropertiesChanged
events.The text was updated successfully, but these errors were encountered: