Skip to main content

Module conn

Module conn 

Source
Expand description

Connection assembly: selects the transport target and opens a MAP or PBAP session.

Functions§

connect_map
Opens a MAP session, connecting via iroh hub or RFCOMM depending on endpoint.
connect_pbap
Opens a PBAP session, connecting via iroh hub or RFCOMM depending on endpoint.
resolve_hub_id
Parses the configured hub node key into an EndpointId.

Type Aliases§

Stream
MAP/PBAP session stream: iroh hub (Left) or RFCOMM (Right).