This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Central role: Unable to scan for directed advertisement.

My set Up: TI as Peripheral, Android as Central, Nordic as Central

I am doing directed advertisement using TI as peripheral.

Using Andriod as central, I am successfully able to scan for the peripheral doing directed advertisement, and also able to initiate a connection to the peripheral.

I am trying to achieve the same using Nordic as central. But, I am not able to scan for directed advertisement. I have also tried 'whitelisting' the peripheral for scanning, still scanning for directed advertisement was not possible. Is there any specific scanning parameter I need to set? OR is this a limitation on Nordic side?(sdk version:8.0.0))

PS: The Nordic device could successfully scan for the TI peripheral if using undirected advertisement, but fails to scan the peripheral doing directed advertisement.

  • Hi Prem,

    Aryan forwarded the log from you to me. I noticed in the log, you did directed advertise with the correct initiator address, however the initiator address type was not correct. In the directed advertise packet you had "initiator type : public". But the actual address of the initiator (scanner) was "random". This was shown in the connect request packet, in the same log (" Initiator Address Type: random").

    Could you try to change the address type of the initiator in the directed advertising packet to random and let me know the result. Please record another log and send us the result if the issue remains.

  • Hi, I am trying to write a small android app to send direct advertisement to particular device. i am using 0001 for direct advertisment. But when i advertise the data, message is received for all the devices. can you let me know or share an example for this in android.

    Thank you Rohit Iti

Related