Builder
DSL builder for RadioClient.
transport and storage are required; all other settings have sensible defaults.
val client = RadioClient.Builder()
.transport(TcpTransport(host = "192.168.1.42", port = 4403))
.storage(InMemoryStorageProvider())
.build()Since
0.1.0
Functions
Configure the auto-reconnect supervisor with a pre-built AutoReconnectConfig.
Configure the engine's built-in auto-reconnect supervisor.
Enable or disable automatic time sync on connect.
Build and return a RadioClient.
Set a custom clock (useful for testing deterministic time-based behaviour).
Override the coroutine context for the engine actor and helper coroutines.
Disable BLE heartbeats.
Set a custom logger.
Configure the online/offline presence timeout for node presence events.
Enable protocol-level logging.
Configure the per-RPC timeout for AdminApi / TelemetryApi / RoutingApi calls.
Configure the per-send ACK timeout.
Skip the Stage-2 NodeDB download ("config-only" connect): the handshake stops after Stage 1, so want_config_id = 69421 is never sent and connect returns once config and channels are in — cutting the bulk of BLE connect time on a large mesh. Config, channels, own node, admin and send/receive are unaffected; the node map holds only the local node until peers are heard live. For config editors, provisioning and CLI one-shots; leave off for chat/map UIs. See docs/protocol.md §6.
Set the storage provider (required).
Set a pre-built RadioTransport instance directly.