Function bt_obex::profile::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.