esp_idf_sys

Function ble_l2cap_disconnect

Source
pub unsafe extern "C" fn ble_l2cap_disconnect(
    chan: *mut ble_l2cap_chan,
) -> c_int
Expand description

@brief Disconnect an L2CAP channel.

This function disconnects the specified L2CAP channel by sending a disconnect signal.

@param chan Pointer to the L2CAP channel structure representing the channel to disconnect.

@return 0 on success; A non-zero value on failure.