bt_obex::profile

Function connect_to_obex_service

Source
pub async fn connect_to_obex_service(
    id: PeerId,
    profile: &ProfileProxy,
    parameters: ConnectParameters,
) -> Result<ObexClient, Error>
Expand description

Attempt to connect to the peer id with the provided connect parameters. Returns an ObexClient connected to the remote OBEX service on success, or an Error if the connection could not be made.