New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't detect EddyStone URL advertisement with 5.0 kernel #24
Comments
Sorry, I am currently vacationing in France. Will have a look at it when I am back home, mid Aug. |
Thanks for the reply (I'll do the same next week) Sylvain PINEAU |
Hi, have you been able to reproduce the issue? I can help providing more data from the system where it happens. |
Sorry, I have not had time yet. I am about to move to a new house and it is taking more of my time than I expected. But please send me the setup you use to reproduce the problem. Cheers |
See BLUETOOTH CORE SPECIFICATION Version 5.1, Vol 2: Core System Package, Part E Host Controller Interface Functional Specification, section 7.7.65.13 LE Extended Advertising Report event. Closes: frawau#24
See BLUETOOTH CORE SPECIFICATION Version 5.1, Vol 2: Core System Package, Part E Host Controller Interface Functional Specification, section 7.7.65.13 LE Extended Advertising Report event. Closes: frawau#24
Proposed #27 to fix this issue. |
@frawau will we have a new release for this? I've tried this against EddyStone beacon I got, but maybe you have also other hw to test against as well. |
I will check with my Ruuvi devices first. Not sure when but soon I hope |
aioblescan can't detect EddyStone URL advertisement with 5.0 kernel.
We could see "Bluetooth: hci0: advertising data len corrected" is received in dmesg, however, aioblescan can't detect the advertisement.
See the code below:
class HCI_LE_Meta_Event(Packet):
def decode(self,data):
...
if code.val==b"\x02":
ev=RepeatedField("Adv Report", HCI_LEM_Adv_Report)
data=ev.decode(data)
self.payload.append(ev)
else:
...
`
aioblescan supports only the "legacy" LE Advertising report(0x2).
Need to implement corresponding handling code based on BLUETOOTH CORE SPECIFICATION Version 5.1, section 7.7.65.13 LE Extended Advertising Report event (code 0xd).
The text was updated successfully, but these errors were encountered: