nRF Connect SDK API 2.8.99
|
void bt_conn_ctx_release | ( | struct bt_conn_ctx_lib * | ctx_lib, |
void * | data ) |
#include <include/bluetooth/conn_ctx.h>
Release a connection context from the memory pool.
This function finds and releases a connection context in the memory pool. The link to find is identified by its context data.
This function should be used in conjunction with bt_conn_ctx_alloc, bt_conn_ctx_get, or bt_conn_ctx_get_by_id to ensure proper operation.
ctx_lib | Bluetooth connection context library instance. |
data | Context data for the connection. |