Hello,
I'm trying to use `sd_ble_gap_connect` to connect to a peer I discovered using `nrf_ble_scan`.
Hello,
I'm trying to use `sd_ble_gap_connect` to connect to a peer I discovered using `nrf_ble_scan`.
What are the values of the NRF_BLE_SCAN_SCAN_INTERVAL, NRF_BLE_SCAN_SCAN_WINDOW, and NRF_BLE_SCAN_SCAN_DURATION here?
Also, I'm interested in why you seem to be using your own custom version of the scan and connect functions. I would strongly recommend using something similar to the ble_app_hrs_c for instance where the nrf_ble_scan_connect_with_target() functions takes care of all these steps for you. Identity lists should not be necessary to use for BLE, so I don't think you should focus on that.
Best regards,
Simon
What are the values of the NRF_BLE_SCAN_SCAN_INTERVAL, NRF_BLE_SCAN_SCAN_WINDOW, and NRF_BLE_SCAN_SCAN_DURATION here?
Also, I'm interested in why you seem to be using your own custom version of the scan and connect functions. I would strongly recommend using something similar to the ble_app_hrs_c for instance where the nrf_ble_scan_connect_with_target() functions takes care of all these steps for you. Identity lists should not be necessary to use for BLE, so I don't think you should focus on that.
Best regards,
Simon
These are the values I have right now. I did not use nrf_ble_scan_connect_with_target as it seems to do exactly what I'm doing here. But I'm absolutely using the scan functionality, just not the connect one.