![]() |
S115 SoftDevice for nRF54LV10 API documentation 10.0.0
|
| uint32_t sd_ble_gap_next_conn_evt_counter_get | ( | uint16_t | conn_handle, |
| uint16_t * | p_counter ) |
#include <ble_gap.h>
Obtain the next connection event counter value.
The connection event counter is initialized to zero on the first connection event. The value is incremented by one for each connection event. For more information see Bluetooth Core Specification, Vol 6, Part B, Section 4.5.1.
| [in] | conn_handle | Connection handle. |
| [out] | p_counter | Pointer to the variable where the next connection event counter will be written. |
| NRF_SUCCESS | The connection event counter was successfully retrieved. |
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid connection handle parameter supplied. |
| NRF_ERROR_INVALID_ADDR | Invalid pointer supplied. |