I use it. nRF52832 PCA10040 I have coded based on NUS.
However, I failed to pair with my Android device.
Even with ble_app_uart, the result is the same.
I use it. nRF52832 PCA10040 I have coded based on NUS.
However, I failed to pair with my Android device.
Even with ble_app_uart, the result is the same.
Hi,
You are setting the security status as: BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP in the line below. err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
Changing it to: err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_SUCCESS, NULL, NULL);
might solve the problem.
Thank you. I tried several times and it succeeded.
Thank you. I tried several times and it succeeded.