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)
new
AdminMessage(data?: PartialMessage<AdminMessage>)
payloadVariant: { value: number; case: "getChannelRequest"; }
| { value: Channel; case: "getChannelResponse"; }
| { value: boolean; case: "getOwnerRequest"; }
| { value: User; case: "getOwnerResponse"; }
| { value: AdminMessage_ConfigType; case: "getConfigRequest"; }
| { value: Config; case: "getConfigResponse"; }
| { value: AdminMessage_ModuleConfigType; case: "getModuleConfigRequest"; }
| { value: ModuleConfig; case: "getModuleConfigResponse"; }
| { value: boolean; case: "getCannedMessageModuleMessagesRequest"; }
| { value: string; case: "getCannedMessageModuleMessagesResponse"; }
| { value: boolean; case: "getDeviceMetadataRequest"; }
| { value: DeviceMetadata; case: "getDeviceMetadataResponse"; }
| { value: boolean; case: "getRingtoneRequest"; }
| { value: string; case: "getRingtoneResponse"; }
| { value: boolean; case: "getDeviceConnectionStatusRequest"; }
| { value: DeviceConnectionStatus; case: "getDeviceConnectionStatusResponse"; }
| { value: HamParameters; case: "setHamMode"; }
| { value: boolean; case: "getNodeRemoteHardwarePinsRequest"; }
| { value: NodeRemoteHardwarePinsResponse; case: "getNodeRemoteHardwarePinsResponse"; }
| { value: boolean; case: "enterDfuModeRequest"; }
| { value: string; case: "deleteFileRequest"; }
| { value: User; case: "setOwner"; }
| { value: Channel; case: "setChannel"; }
| { value: Config; case: "setConfig"; }
| { value: ModuleConfig; case: "setModuleConfig"; }
| { value: string; case: "setCannedMessageModuleMessages"; }
| { value: string; case: "setRingtoneMessage"; }
| { value: number; case: "removeByNodenum"; }
| { value: number; case: "setFavoriteNode"; }
| { value: number; case: "removeFavoriteNode"; }
| { value: Position; case: "setFixedPosition"; }
| { value: boolean; case: "removeFixedPosition"; }
| { value: boolean; case: "beginEditSettings"; }
| { value: boolean; case: "commitEditSettings"; }
| { value: number; case: "rebootOtaSeconds"; }
| { value: boolean; case: "exitSimulator"; }
| { value: number; case: "rebootSeconds"; }
| { value: number; case: "shutdownSeconds"; }
| { value: number; case: "factoryReset"; }
| { value: number; case: "nodedbReset"; }
| { case: undefined; value?: undefined; }
TODO: REPLACE
fromBinary(bytes: Uint8Array,options?: Partial<BinaryReadOptions>,): AdminMessage
fromJson(jsonValue: JsonValue,options?: Partial<JsonReadOptions>,): AdminMessage
fromJsonString(jsonString: string,options?: Partial<JsonReadOptions>,): AdminMessage