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

◆ ble_conn_params_data_length_set()

uint32_t ble_conn_params_data_length_set ( uint16_t conn_handle,
struct ble_conn_params_data_length dl )

#include <ble_conn_params.h>

Initiate a GAP data length update procedure for a given connection.

The data length update procedure is executed asynchronously, and its completion is signalled by the BLE_CONN_PARAMS_EVT_DATA_LENGTH_UPDATED event.

Parameters
conn_handleHandle to the connection.
dlDesired GAP data length.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_INVALID_PARAMInvalid data length or connection handle.