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`.
Hi
When sd_ble_gap_connect() returns NRF_ERROR_INVALID_PARAM that indicates that invalid parameter(s) has been supplied. Either invalid parameters in scan_params or conn_params have been supplied. A use of whitelist was requested but the whitelist has not been set (see sd_ble_gap_whitelist_set). Or the peer address was not present in the device identity list (see sd_ble_gap_device_identities_set).
Best regards,
Simon
Thanks for the reply! I'm not using the whitelist feature (I have BLE_GAP_SCAN_FP_ACCEPT_ALL set in the scan parameters). I'm getting the peer address from the scan, do I need to register the peer with the identity list?
Thanks for the reply! I'm not using the whitelist feature (I have BLE_GAP_SCAN_FP_ACCEPT_ALL set in the scan parameters). I'm getting the peer address from the scan, do I need to register the peer with the identity list?