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
Parameter | Description |
---|
conn_handle | The handle corresponding to the connection to update. |
params | The connection parameters to attempt to update to. |
Returned values
Value | Condition |
---|
0 | Success. |
BLE_HS_ENOTCONN | The there is no connection with the specified handle. |
BLE_HS_EALREADY | A connection update procedure for this connection is already in progress. |
BLE_HS_EINVAL | Requested parameters are invalid. |
Core return code | Unexpected error. |