RadioSessionPipeline
class RadioSessionPipeline(projection: Lazy<RadioSessionProjection>, connectionManager: Lazy<MeshConnectionManager>, lockdownCoordinator: Lazy<LockdownCoordinator>)(source)
Builds the SDK client of a selected radio and the pipeline that writes its sessions into the app.
Constructors
Link copied to clipboard
constructor(projection: Lazy<RadioSessionProjection>, connectionManager: Lazy<MeshConnectionManager>, lockdownCoordinator: Lazy<LockdownCoordinator>)
Functions
Link copied to clipboard
fun link(identity: TransportIdentity, ble: Boolean, scope: CoroutineScope, provider: RadioTransportProvider, gattCache: GattCacheRefresh? = null, failureReason: (MeshtasticException) -> TransportDisconnectReason? = { null }, close: () -> Unit = {}): RadioLink
A link whose client asks provider for a transport before every attempt.