bt_obex::profile

Function is_obex_protocol

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

Returns true if the provided protocol is OBEX.

Protocols are generally specified as a list of protocol descriptors which are ordered from lowest level (typically L2CAP) to highest.