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
Add a shared contact to the device's contact list.
Back up device preferences to the specified location.
Exception-based counterpart to editSettings that also exposes batched getter helpers.
Delete a file from the device's filesystem.
Run block inside a begin_edit_settings / commit_edit_settings envelope so the device applies all writes atomically (avoids reboot-mid-edit corruption).
Enter DFU (firmware update) mode. The device will reboot into its bootloader.
Exit the firmware simulator mode (development only).
Erase device state and reset to factory defaults.
Read the canned message module's preset messages.
Read the Channel at index (0..7).
Read a single Config section from the device.
Read the device's connection status (WiFi, BLE, Ethernet, MQTT).
Request DeviceMetadata from the device (firmware version, hardware model, etc.).
Read a single ModuleConfig section from the device.
Read the local node's User (long name / short name / hardware model / public key).
Read the remote hardware pin configuration of node.
Read the device's ringtone (RTTTL format).
Read the device's UI configuration (display preferences, language, etc.).
Initiate or respond to a key verification exchange.
Read every configured channel (indices 0..7).
Provision, unlock, or lock the device's storage lockdown (MESHTASTIC_LOCKDOWN hardened firmware builds only).
Wipe the device's NodeDB, forcing a fresh discovery cycle on the mesh.
Send an OTA event (firmware update control).
Remove a stored preference backup from location.
Remove the fixed position and re-enable GPS.
Remove a node from the device's NodeDB by its node number.
Restore device preferences from the specified location.
Send a synthetic input event to the device (button press, touch, etc.).
Convenience: build and send a ModuleConfig.AmbientLightingConfig in a single call.
Convenience: build and send a ModuleConfig.AudioConfig in a single call.
Convenience: build and send a Config.BluetoothConfig in a single call.
Convenience: build and send a ModuleConfig.CannedMessageConfig in a single call.
Write the canned message module's preset messages (pipe-delimited).
Write a Channel. The slot is determined by Channel.index.
Write a Config section to the device.
Convenience: build and send a ModuleConfig.DetectionSensorConfig in a single call.
Convenience: build and send a Config.DeviceConfig in a single call.
Convenience: build and send a Config.DisplayConfig in a single call.
Convenience: build and send a ModuleConfig.ExternalNotificationConfig in a single call.
Mark node as a favorite (persisted in firmware NodeDB).
Set a fixed GPS position for the device (disables GPS module).
Configure the device for amateur radio use (sets call sign, disables encryption).
Mark node as ignored — packets from it are filtered before reaching apps.
Convenience: build and send a Config.LoRaConfig in a single call.
Write a ModuleConfig section to the device.
Convenience: build and send a ModuleConfig.MQTTConfig in a single call.
Convenience: build and send a ModuleConfig.NeighborInfoConfig in a single call.
Convenience: build and send a Config.NetworkConfig in a single call.
Update the local node's User. Persists across reboots.
Convenience: build and send a ModuleConfig.PaxcounterConfig in a single call.
Convenience: build and send a Config.PositionConfig in a single call.
Convenience: build and send a Config.PowerConfig in a single call.
Convenience: build and send a ModuleConfig.RangeTestConfig in a single call.
Convenience: build and send a ModuleConfig.RemoteHardwareConfig in a single call.
Write the device's ringtone (RTTTL format).
Set the device's scale calibration value (e-ink display DPI).
Convenience: build and send a Config.SecurityConfig in a single call.
Configure a sensor attached to the device.
Convenience: build and send a ModuleConfig.SerialConfig in a single call.
Convenience: build and send a ModuleConfig.StatusMessageConfig in a single call.
Convenience: build and send a ModuleConfig.StoreForwardConfig in a single call.
Convenience: build and send a ModuleConfig.TelemetryConfig in a single call.
Set the device's wall clock from raw Unix time seconds without sending position data.
Convenience: build and send a ModuleConfig.TrafficManagementConfig in a single call.
Write the device's UI configuration.
Toggle mute state on node — muted nodes do not forward packets.