RadioController
Central interface for controlling the radio and mesh network.
This is a composite interface that extends the focused sub-interfaces below. Feature modules that need the full surface inject RadioController; modules that need only a subset can inject the narrower interface for better testability and clearer dependency intent.
Sub-interfaces (mirrors SDK's layered API design):
AdminController — config, channels, owner, device lifecycle (→ SDK
AdminApi)MessagingController — send packets, reactions, contacts (→ SDK
RadioClient.send*)NodeController — favorite, ignore, mute, remove nodes (→ SDK
AdminApinode ops)QueryController — telemetry, traceroute, position queries (→ SDK
TelemetryApi/RoutingApi)
When migrating to the SDK, each sub-interface becomes a thin adapter over the corresponding SDK API. The composite RadioController can then be deprecated and consumers migrated to the narrower interfaces one at a time.
Properties
Functions
Clears the current clientNotification.
Runs block as an editSettings transaction against the local node.
Performs a factory reset on a node, BLE bonds included.
A fresh non-zero ID from the active session's SDK client, or a random non-zero one without a session, for an object that needs a mesh-unique id, such as a waypoint.
Reads the current canned messages.
Reads the channel at zero-based index.
Reads a configuration section; configType is an AdminMessage.ConfigType value.
Reads the hardware connection status.
Reads the device metadata, the remote-admin preflight.
Reads a module configuration section; moduleConfigType is an AdminMessage.ModuleConfigType value.
Reads the current ringtone.
Imports a shared contact into the firmware's NodeDB.
A fresh non-zero remote shell session ID, or null without a radio session.
Resets the NodeDB on a node.
Plays the node's saved ringtone once via AdminMessage.play_ringtone_request. Fire-and-forget: the firmware sends no response, and builds without RTTTL support ignore it.
Commands a node to reboot into DFU mode; firmware answers nothing, so success means sent.
Requests device metadata from a node.
Removes a node from the mesh by its node number.
Requests a single framebuffer frame from the locally connected node, delivered like mirrored frames.
Requests that the next BLE connection invalidates Android's GATT service cache. Call before setDeviceAddress when reconnecting after a firmware update.
Requests neighbor information (detected nodes) from a node.
Requests the current position of a remote node, sharing ours when the user allows it.
Sends an ESP32 OTA reboot request without waiting for the node's answer.
Requests one kind of telemetry from a node.
Initiates a traceroute request to a remote node.
Requests user info from a remote node, carrying ours.
Restores local radio settings only while expectedDeviceAddress is still selected.
Injects a physical input event (button/key/touch) into the locally connected node's UI via the firmware InputBroker. Event codes are the firmware's input_broker_event values. Non-suspend immediate send: input must not queue behind bulk admin traffic.
Sends a data packet to the mesh.
Sends an emoji reaction to a message. Awaits local DB persistence.
Sends our shared contact information (identity and public key) to the firmware's NodeDB.
Updates the canned messages configuration on a remote node.
Changes the device address (e.g., BLE MAC, IP address) we are communicating with.
Enables or disables live display mirroring on the locally connected node. While enabled, the device streams its framebuffer as FromRadio.display_frame chunks — collect them via DisplayMirrorManager. Non-suspend (immediate send, bypassing the outbound FIFO) so lifecycle teardown can reliably disable the stream.
Sets the favorite status of a node on the radio.
Sets a fixed position on a remote node.
Enables amateur-radio (ham) mode on a node via AdminMessage.set_ham_mode.
Sets the ignore status of a node on the radio.
Updates a local radio channel. Same fire-and-forget contract as setLocalConfig.
Updates the local radio configuration.
Updates a module configuration on a node.
Updates a channel configuration on a node.
Updates the notification ringtone on a remote node.
Starts providing the phone's location to the mesh.
Stops providing the phone's location to the mesh.
Toggles the mute status of a node on the radio. Mirrors the SDK's toggleMuted(NodeId).