Hi,
I do some function base on the ble_app_uart peoject and using the S130.Now I want the device disconnect the connection once it receives the disconnection command from UART. I do it like this: err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED); APP_ERROR_CHECK(err_code);
However,the chip will reset when runs the sd_ble_gap_disconnec API.Even I cann't see the value of the err_code variable.
What the value should be for the m_conn_handle?And how to get the current value of m_conn_handle?
Anyone could help me?Thank you very much.