This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HOW CAN I VOLUNTARILY DISCONNECT BLE DEVICES.

Dear all: When the PC1001 board connected with other BLE devices, how i can voluntarily disconnect them?
it seems that the use of the sd_ble_gap_disconnect function has some errors with invalid params . what should i do ? attach my use: err_code = sd_ble_gap_disconnect(m_conn_handle,
BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION); APP_ERROR_CHECK(err_code);

Related