I use NRF51822 with SDK 12.3.0 and sofdevice 130. Where I can find examples of scanning for directed advertising packets for my board?
Thanks!
I use NRF51822 with SDK 12.3.0 and sofdevice 130. Where I can find examples of scanning for directed advertising packets for my board?
Thanks!
Hello,
Any of the central examples will scan for directed advertisements. The difference between directed and undirected advertising is a bit saying that it is directed. Other BLE devices will still be able to hear these advertisement packets, but they will typically be ignored, because directed advertising indicates that it will not connect to other devices than the one it is directed to.
So if the advertisement is directed for you, it will not be ignored. You can test the ble_app_multilink_central example, and look at the on_adv_report events. If it is unmodified it will filter the advertisements on the advertisement name. If the name is equal to m_target_periph_name, it will send a connection request.
Best regards,
Edvin