![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| 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.
| conn_handle | Handle to the connection. |
| dl | Desired GAP data length. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_INVALID_PARAM | Invalid data length or connection handle. |