AdminApi
Device configuration and control RPCs.
Each method maps onto a single AdminMessage round-trip with the local device. Failures that are part of the normal operating envelope (timeout, unauthorized, session-key expiry, node unreachable for remote-admin paths) surface as typed AdminResult variants. Catastrophic failures (transport gone, engine torn down) throw MeshtasticException.
Acquired via RadioClient.admin. Available only while the client is connected.
Since
0.1.0
Functions
Run block inside a begin_edit_settings / commit_edit_settings envelope so the device applies all writes atomically (avoids reboot-mid-edit corruption).
Erase device state and reset to factory defaults.
Read the Channel at index (0..7).
Read a single Config section from the device.
Read a single ModuleConfig section from the device.
Read the local node's User (long name / short name / hardware model / public key).
Read every configured channel (indices 0..7).
Wipe the device's NodeDB, forcing a fresh discovery cycle on the mesh.
Write a Channel. The slot is determined by Channel.index.
Write a Config section to the device.
Mark node as a favorite (persisted in firmware NodeDB).
Mark node as ignored — packets from it are filtered before reaching apps.
Write a ModuleConfig section to the device.
Update the local node's User. Persists across reboots.