Optional
data: PartialMessage<AdminMessage>TODO: REPLACE
Send the specified channel in the response to this message NOTE: This field is sent with the channel index + 1 (to ensure we never try to send 'zero' - which protobufs treats as not present)
TODO: REPLACE
Send the current owner data in the response to this message.
TODO: REPLACE
Ask for the following config data to be sent
Send the current Config in the response to this message.
Ask for the following config data to be sent
Send the current Config in the response to this message.
Get the Canned Message Module messages in the response to this message.
Get the Canned Message Module messages in the response to this message.
Request the node to send device metadata (firmware, protobuf version, etc)
Device metadata response
Get the Ringtone in the response to this message.
Get the Ringtone in the response to this message.
Request the node to send it's connection status
Device connection status response
Setup a node for licensed amateur (ham) radio operation
Get the mesh's nodes with their available gpio pins for RemoteHardware module use
Respond with the mesh's nodes with their available gpio pins for RemoteHardware module use
Enter (UF2) DFU mode Only implemented on NRF52 currently
Delete the file by the specified path from the device
Set zero and offset for scale chips
Set the owner for this node
Set channels (using the new API). A special channel is the "primary channel". The other records are secondary channels. Note: only one channel can be marked as primary. If the client sets a particular channel to be primary, the previous channel will be set to SECONDARY automatically.
Set the current Config
Set the current Config
Set the Canned Message Module messages text.
Set the ringtone for ExternalNotification.
Remove the node by the specified node-num from the NodeDB on the device
Set specified node-num to be favorited on the NodeDB on the device
Set specified node-num to be un-favorited on the NodeDB on the device
Set fixed position data on the node and then set the position.fixed_position = true
Clear fixed position coordinates and then set position.fixed_position = false
Set time only on the node Convenience method to set the time on the node (as Net quality) without any other position data
Begins an edit transaction for config, module config, owner, and channel settings changes This will delay the standard implicit save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
Commits an open transaction for any edits made to config, module config, owner, and channel settings
Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot) Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
This message is only supported for the simulator Portduino build. If received the simulator will exit successfully.
Tell the node to reboot in this many seconds (or <0 to cancel reboot)
Tell the node to shutdown in this many seconds (or <0 to cancel shutdown)
Tell the node to factory reset config; all device state and configuration will be returned to factory defaults; BLE bonds will be preserved.
Tell the node to reset the nodedb.
The node generates this key and sends it with any get_x_response packets. The client MUST include the same key with any set_x commands. Key expires after 300 seconds. Prevents replay attacks for admin messages.
Static
Readonly
fieldsStatic
Readonly
runtimeStatic
Readonly
typeCreate a deep copy.
Compare with a message of the same type. Note that this function disregards extensions and unknown fields.
Parse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optional
options: Partial<BinaryReadOptions>Retrieve the MessageType of this message - a singleton that represents the protobuf message declaration and provides metadata for reflection- based operations.
Protected
toJSONOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Static
equalsStatic
fromOptional
options: Partial<BinaryReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>
This message is handled by the Admin module and is responsible for all settings/channel read/write operations. This message is used to do settings operations to both remote AND local nodes. (Prior to 1.2 these operations were done via special ToRadio operations)
Generated
from message meshtastic.AdminMessage