bt_rfcomm::profile

Function 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.