nRF Connect SDK API 2.8.99
|
int bt_mgmt_conn_disconnect | ( | struct bt_conn * | conn, |
uint8_t | reason ) |
Disconnect from a remote device or cancel the pending connection.
[in] | conn | Connection to disconnect. |
[in] | reason | Reason code for the disconnection, as specified in HCI Error Codes, BT Core Spec [Vol 1, Part F]. |