Function bt_rfcomm::profile::server_channel_from_protocol
source · pub fn server_channel_from_protocol(
protocol: &Vec<ProtocolDescriptor>
) -> Option<ServerChannel>
Expand description
Returns the ServerChannel number from the provided protocol
or None if it
does not exist.