nRF Connect SDK API 2.8.99
|
void * bt_conn_ctx_alloc | ( | struct bt_conn_ctx_lib * | ctx_lib, |
struct bt_conn * | conn ) |
#include <include/bluetooth/conn_ctx.h>
Allocate memory for the connection context data.
This function can set the pointer to the allocated memory.
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. |