ble_gap_update_params

int
ble_gap_update_params(
                           uint16_t  conn_handle,
    const struct ble_gap_upd_params *params
)

Description

Initiates a connection parameter update procedure.

Parameters

ParameterDescription
conn_handleThe handle corresponding to the connection to update.
paramsThe connection parameters to attempt to update to.

Returned values

ValueCondition
0Success.
BLE_HS_ENOTCONNThe there is no connection with the specified handle.
BLE_HS_EALREADYA connection update procedure for this connection is already in progress.
BLE_HS_EINVALRequested parameters are invalid.
Core return codeUnexpected error.