pub async fn connect_map(
addr: Address,
channel: u8,
) -> Result<MapClient<Stream>, SessionError>Expand description
RFCOMM connect to addr:channel then establish_map_session.
§Errors
Returns SessionError::Transport on RFCOMM failure, SessionError::Map on OBEX failure.