This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get scan response data of connectable directed with sd_ble_gap_scan_start in the condition of reconnect?

Current I am using nRF52840 Dongle to develop a Bluetooth PC Tool base on nrf_ble_driver_obj_sd_api_v5 which shared on https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/examples/heart_rate_collector/main.c

I add sd_ble_gap_connect and sd_ble_gap_authenticate into it. I believe I can pair with it now. 

Now I need to reconnect to it after the slave woke up. But I could not get scan response of connectable directed with sd_ble_gap_scan_start while I can get undirected scan response with it.

Please help. Thanks.

Parents Reply
  • Thank you. Kenneth.

    Well, I think I should use the BLE_GAP_SCAN_FP_ACCEPT_ALL when scanning and connecting. But it only exist on SD_API_V6.

    Can you give me an instruction on how to update my nRF52840 dongle from SD_API_V5 to V6.

    Thanks.

Children
Related