pub fn channel_number_from_parameters(
parameters: &ConnectParameters,
) -> Result<i32, Error>Expand description
Returns the L2CAP or RFCOMM channel number from the BR/EDR connection parameters.
Returns Error if the provided parameters are invalid.