pub unsafe extern "C" fn ble_l2cap_sig_update(
conn_handle: u16,
params: *mut ble_l2cap_sig_update_params,
cb: ble_l2cap_sig_update_fn,
cb_arg: *mut c_void,
) -> c_int
Expand description
@brief Initiate an L2CAP connection update procedure.
This function initiates an L2CAP connection update procedure for the specified connection handle. The update procedure is used to modify the connection parameters, such as interval, latency, and timeout.
@param conn_handle The connection handle of the L2CAP connection.
@param params A pointer to a structure containing the desired update parameters. This includes the new connection interval, slave latency, and supervision timeout multiplier.
@param cb The callback function to be called when the update request completes.
The function signature for the callback is defined by ble_l2cap_sig_update_fn
.
@param cb_arg An optional argument to be passed to the callback function.
@return 0 on success; A non-zero value on failure.