riot_sys::bindgen

Function ble_gap_update_params

Source
pub unsafe extern "C" fn ble_gap_update_params(
    conn_handle: u16,
    params: *const ble_gap_upd_params,
) -> c_int
Expand description

Initiates a connection parameter update procedure.

@param conn_handle The handle corresponding to the connection to update. @param params The connection parameters to attempt to update to.

@return 0 on success; BLE_HS_ENOTCONN if the there is no connection with the specified handle; BLE_HS_EALREADY if a connection update procedure for this connection is already in progress; BLE_HS_EINVAL if requested parameters are invalid; Other nonzero on error.