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

Scanning its own advertising in ble multirole example

Hello,

I am working on project where my requirement is something like... Device will advertise and it gets scanned by its own scanning.

What I have done so far...

1. nRF52840_DK is running a example "ble_app_multirole_lesc".

2. nRF52840_DK is advertising with the name "ABCD1234" (DEVICE_NAME = "ABCD1234") and it also initialized the scanning by setting the filter SCAN_NAME_FILTER (m_target_periph_name = "ABCD1234") with the same name.

3. I printed out the Mac address those are get scanned in scan_evt_handler -> NRF_BLE_SCAN_EVT_NOT_FOUND.

4. Now I want that nRF52840_DK advertisement ("ABCD1234") gets scanned by it own scanning.

But the problem is... nRF52840_DK advertisement didn't get scanned by its own scanning and also no mac address printed, It gets scanned in mobile application "nRF Connect". So I can say there is no problem in advertising as well as in scanning also.

Is there any other way by which I can start advertising in nRF52840_DK and also it gets scanned by its own scanning ?

Thanks

Vivek

Related