![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_gq_conn_handle_register | ( | const struct ble_gq * | gatt_queue, |
| uint16_t | conn_handle ) |
#include <ble_gq.h>
Register connection handle in the GATT queue instance.
This function is used for registering connection handle in the BGQ instance. From this point, the BGQ instance can handle GATT requests associated with the handle until connection is no longer valid (disconnect event occurs).
| [in] | gatt_queue | Pointer to the GATT Queue instance. |
| [in] | conn_handle | Connection handle. |
| NRF_SUCCESS | Connection handle was registered successfully. |
| NRF_ERROR_NULL | If gatt_queue was NULL. |
| NRF_ERROR_NO_MEM | No space for another connection handle. |