nRF Connect SDK API 0.1.0
|
void * bt_conn_ctx_get | ( | struct bt_conn_ctx_lib * | ctx_lib, |
struct bt_conn * | conn | ||
) |
#include <include/bluetooth/conn_ctx.h>
Get the context data of a connection from the memory pool.
This function finds a connection's context data in the memory pool. The link to find is identified by the connection object.
This function should be used in conjunction with bt_conn_ctx_release to ensure proper operation.
ctx_lib | Bluetooth connection context library instance. |
conn | Bluetooth connection. |