nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_conn_ctx_free()

int bt_conn_ctx_free ( struct bt_conn_ctx_lib * ctx_lib,
struct bt_conn * conn )

#include <include/bluetooth/conn_ctx.h>

Free the allocated memory for a connection.

Parameters
ctx_libBluetooth connection context library instance.
connBluetooth connection.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.