-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Device discovery of direct advertising devices is not working #12440
Comments
Hi @cvinayak , do you know if this scanning should work? It seems that there is code missing there... |
I suspect this was the issue:
AFAIK adv reports with directed advertiser works, given that one of the two options are enabled. |
Closing this since I have confirmed with @MarekPieta That discovery of directed advertiser is working. |
I verified that information about direct advertising packets is properly forwarded to the application through the registered callback. The same callback is used for indirect advertising packets (the advertising type field value is the difference). I tested with the nrfxlib LL. |
Is your feature request related to a problem? Please describe.
Device discovery for direct advertising devices is not working.
Describe the solution you'd like
I would like device that are direct advertising to be discoverable.
Describe alternatives you've considered
I really need direct advertising so there are no alternatives.
Additional context
Today I tried to use direct advertising between peripheral and central running Zephyr. It seems nobody has used that for some time. There was a bug on peripheral side (#12438). After fixing the issue I see direct advertising packets going out of the device. However central does not see the peripheral (yes, device was bonded earlier).
I checked the code and I see that although normal advertising report is supported (look for
BT_HCI_EVT_LE_ADVERTISING_REPORT
inhci_core.c
), direct advertising is not (lack of reaction toBT_HCI_EVT_LE_DIRECT_ADV_REPORT
).I have tried to put logs in
le_advertising_report
to see if any devices are actually found (even if report is not processed further) but I see no direct advertisement detected (I see packets on the sniffer that contain both my peripheral and central addresses). Has anybody actually used this?The text was updated successfully, but these errors were encountered: