bt_rfcomm::profile

Function is_rfcomm_protocol

Source
pub fn is_rfcomm_protocol(protocol: &Vec<ProtocolDescriptor>) -> bool
Expand description

Returns true if the provided protocol is RFCOMM.

Protocols are generally specified by a vector of ProtocolDescriptors which are ordered from lowest level (typically L2CAP) to highest.