nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_conn_params_data_length_get()

uint32_t ble_conn_params_data_length_get ( uint16_t conn_handle,
struct ble_conn_params_data_length * dl )

#include <ble_conn_params.h>

Retrieve the current GAP data length for a given connection.

Parameters
conn_handleHandle to the connection.
[out]dlThe data length value.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_INVALID_PARAMInvalid connection handle.
NRF_ERROR_NULLdata_length is NULL.