pub unsafe extern "C" fn ble_l2cap_get_chan_info(
chan: *mut ble_l2cap_chan,
chan_info: *mut ble_l2cap_chan_info,
) -> c_int
Expand description
@brief Get information about an L2CAP channel.
This function retrieves information about the specified L2CAP channel and populates
the provided ble_l2cap_chan_info
structure with the channel’s details.
@param chan Pointer to the L2CAP channel structure to retrieve information from.
@param chan_info Pointer to the ble_l2cap_chan_info
structure to populate with channel information.
@return 0 on success; A non-zero value on failure.