![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mgmt_conn_disconnect | ( | struct bt_conn * | conn, |
| uint8_t | reason ) |
#include <applications/nrf_audio/src/bluetooth/bt_management/bt_mgmt.h>
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]. |