ble_l2cap_sig_update() function
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.
Arguments
conn_handle
The connection handle of the L2CAP connection.
params
A pointer to a structure containing the desired update parameters. This includes the new connection interval, slave latency, and supervision timeout multiplier.
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`.
cb_arg
An optional argument to be passed to the callback function.
Return value
0 on success; A non-zero value on failure.