bt_obex::profile

Function parse_obex_search_result

Source
pub fn parse_obex_search_result(
    protocol: &Vec<ProtocolDescriptor>,
    attributes: &Vec<Attribute>,
) -> Option<ConnectParameters>
Expand description

Attempt to parse an OBEX service advertisement into ConnectParameters containing the L2CAP PSM or RFCOMM ServerChannel associated with the service. Returns the parameters on success, None if the parsing fails.