@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.57 to 0.6.58
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { ModuleConfig } from "./module_config"; | ||
import { Config } from "./config"; | ||
@@ -141,2 +142,38 @@ import { Channel } from "./channel"; | ||
} | { | ||
oneofKind: "getModuleConfigRequest"; | ||
/** | ||
* | ||
* Ask for the following config data to be sent | ||
* | ||
* @generated from protobuf field: AdminMessage.ModuleConfigType get_module_config_request = 14; | ||
*/ | ||
getModuleConfigRequest: AdminMessage_ModuleConfigType; | ||
} | { | ||
oneofKind: "getModuleConfigResponse"; | ||
/** | ||
* | ||
* Send the current Config in the response to this message. | ||
* | ||
* @generated from protobuf field: ModuleConfig get_module_config_response = 15; | ||
*/ | ||
getModuleConfigResponse: ModuleConfig; | ||
} | { | ||
oneofKind: "setModuleConfig"; | ||
/** | ||
* | ||
* Set the current Config | ||
* | ||
* @generated from protobuf field: ModuleConfig set_module_config = 16; | ||
*/ | ||
setModuleConfig: ModuleConfig; | ||
} | { | ||
oneofKind: "confirmSetModuleConfig"; | ||
/** | ||
* | ||
* Sent immediatly after a config change has been sent to ensure comms, if this is not recieved, the config will be reverted after 10 mins | ||
* | ||
* @generated from protobuf field: bool confirm_set_module_config = 17; | ||
*/ | ||
confirmSetModuleConfig: boolean; | ||
} | { | ||
oneofKind: "confirmSetChannel"; | ||
@@ -313,5 +350,5 @@ /** | ||
* | ||
* @generated from protobuf enum value: ALL = 0; | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 0; | ||
*/ | ||
ALL = 0, | ||
DEVICE_CONFIG = 0, | ||
/** | ||
@@ -321,5 +358,5 @@ * | ||
* | ||
* @generated from protobuf enum value: CORE_ONLY = 1; | ||
* @generated from protobuf enum value: GPS_CONFIG = 1; | ||
*/ | ||
CORE_ONLY = 1, | ||
GPS_CONFIG = 1, | ||
/** | ||
@@ -329,5 +366,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_ONLY = 2; | ||
* @generated from protobuf enum value: POWER_CONFIG = 2; | ||
*/ | ||
MODULE_ONLY = 2, | ||
POWER_CONFIG = 2, | ||
/** | ||
@@ -337,5 +374,5 @@ * | ||
* | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 3; | ||
* @generated from protobuf enum value: WIFI_CONFIG = 3; | ||
*/ | ||
DEVICE_CONFIG = 3, | ||
WIFI_CONFIG = 3, | ||
/** | ||
@@ -345,5 +382,5 @@ * | ||
* | ||
* @generated from protobuf enum value: GPS_CONFIG = 4; | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 4; | ||
*/ | ||
GPS_CONFIG = 4, | ||
DISPLAY_CONFIG = 4, | ||
/** | ||
@@ -353,5 +390,13 @@ * | ||
* | ||
* @generated from protobuf enum value: POWER_CONFIG = 5; | ||
* @generated from protobuf enum value: LORA_CONFIG = 5; | ||
*/ | ||
POWER_CONFIG = 5, | ||
LORA_CONFIG = 5 | ||
} | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum AdminMessage.ModuleConfigType | ||
*/ | ||
export declare enum AdminMessage_ModuleConfigType { | ||
/** | ||
@@ -361,5 +406,5 @@ * | ||
* | ||
* @generated from protobuf enum value: WIFI_CONFIG = 6; | ||
* @generated from protobuf enum value: MQTT_CONFIG = 0; | ||
*/ | ||
WIFI_CONFIG = 6, | ||
MQTT_CONFIG = 0, | ||
/** | ||
@@ -369,5 +414,5 @@ * | ||
* | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 7; | ||
* @generated from protobuf enum value: SERIAL_CONFIG = 1; | ||
*/ | ||
DISPLAY_CONFIG = 7, | ||
SERIAL_CONFIG = 1, | ||
/** | ||
@@ -377,5 +422,5 @@ * | ||
* | ||
* @generated from protobuf enum value: LORA_CONFIG = 8; | ||
* @generated from protobuf enum value: EXTNOTIF_CONFIG = 2; | ||
*/ | ||
LORA_CONFIG = 8, | ||
EXTNOTIF_CONFIG = 2, | ||
/** | ||
@@ -385,5 +430,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_MQTT_CONFIG = 9; | ||
* @generated from protobuf enum value: STOREFORWARD_CONFIG = 3; | ||
*/ | ||
MODULE_MQTT_CONFIG = 9, | ||
STOREFORWARD_CONFIG = 3, | ||
/** | ||
@@ -393,5 +438,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_SERIAL_CONFIG = 10; | ||
* @generated from protobuf enum value: RANGETEST_CONFIG = 4; | ||
*/ | ||
MODULE_SERIAL_CONFIG = 10, | ||
RANGETEST_CONFIG = 4, | ||
/** | ||
@@ -401,5 +446,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_EXTNOTIF_CONFIG = 11; | ||
* @generated from protobuf enum value: TELEMETRY_CONFIG = 5; | ||
*/ | ||
MODULE_EXTNOTIF_CONFIG = 11, | ||
TELEMETRY_CONFIG = 5, | ||
/** | ||
@@ -409,26 +454,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_STOREFORWARD_CONFIG = 12; | ||
* @generated from protobuf enum value: CANNEDMSG_CONFIG = 6; | ||
*/ | ||
MODULE_STOREFORWARD_CONFIG = 12, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_RANGETEST_CONFIG = 13; | ||
*/ | ||
MODULE_RANGETEST_CONFIG = 13, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_TELEMETRY_CONFIG = 14; | ||
*/ | ||
MODULE_TELEMETRY_CONFIG = 14, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_CANNEDMSG_CONFIG = 15; | ||
*/ | ||
MODULE_CANNEDMSG_CONFIG = 15 | ||
CANNEDMSG_CONFIG = 6 | ||
} | ||
@@ -435,0 +459,0 @@ declare class AdminMessage$Type extends MessageType<AdminMessage> { |
@@ -5,2 +5,3 @@ // @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { ModuleConfig } from "./module_config"; | ||
import { Config } from "./config"; | ||
@@ -22,5 +23,5 @@ import { Channel } from "./channel"; | ||
* | ||
* @generated from protobuf enum value: ALL = 0; | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 0; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["ALL"] = 0] = "ALL"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DEVICE_CONFIG"] = 0] = "DEVICE_CONFIG"; | ||
/** | ||
@@ -30,5 +31,5 @@ * | ||
* | ||
* @generated from protobuf enum value: CORE_ONLY = 1; | ||
* @generated from protobuf enum value: GPS_CONFIG = 1; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["CORE_ONLY"] = 1] = "CORE_ONLY"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["GPS_CONFIG"] = 1] = "GPS_CONFIG"; | ||
/** | ||
@@ -38,5 +39,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_ONLY = 2; | ||
* @generated from protobuf enum value: POWER_CONFIG = 2; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_ONLY"] = 2] = "MODULE_ONLY"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["POWER_CONFIG"] = 2] = "POWER_CONFIG"; | ||
/** | ||
@@ -46,5 +47,5 @@ * | ||
* | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 3; | ||
* @generated from protobuf enum value: WIFI_CONFIG = 3; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DEVICE_CONFIG"] = 3] = "DEVICE_CONFIG"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["WIFI_CONFIG"] = 3] = "WIFI_CONFIG"; | ||
/** | ||
@@ -54,5 +55,5 @@ * | ||
* | ||
* @generated from protobuf enum value: GPS_CONFIG = 4; | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 4; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["GPS_CONFIG"] = 4] = "GPS_CONFIG"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DISPLAY_CONFIG"] = 4] = "DISPLAY_CONFIG"; | ||
/** | ||
@@ -62,5 +63,14 @@ * | ||
* | ||
* @generated from protobuf enum value: POWER_CONFIG = 5; | ||
* @generated from protobuf enum value: LORA_CONFIG = 5; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["POWER_CONFIG"] = 5] = "POWER_CONFIG"; | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["LORA_CONFIG"] = 5] = "LORA_CONFIG"; | ||
})(AdminMessage_ConfigType || (AdminMessage_ConfigType = {})); | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum AdminMessage.ModuleConfigType | ||
*/ | ||
export var AdminMessage_ModuleConfigType; | ||
(function (AdminMessage_ModuleConfigType) { | ||
/** | ||
@@ -70,5 +80,5 @@ * | ||
* | ||
* @generated from protobuf enum value: WIFI_CONFIG = 6; | ||
* @generated from protobuf enum value: MQTT_CONFIG = 0; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["WIFI_CONFIG"] = 6] = "WIFI_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["MQTT_CONFIG"] = 0] = "MQTT_CONFIG"; | ||
/** | ||
@@ -78,5 +88,5 @@ * | ||
* | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 7; | ||
* @generated from protobuf enum value: SERIAL_CONFIG = 1; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DISPLAY_CONFIG"] = 7] = "DISPLAY_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["SERIAL_CONFIG"] = 1] = "SERIAL_CONFIG"; | ||
/** | ||
@@ -86,5 +96,5 @@ * | ||
* | ||
* @generated from protobuf enum value: LORA_CONFIG = 8; | ||
* @generated from protobuf enum value: EXTNOTIF_CONFIG = 2; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["LORA_CONFIG"] = 8] = "LORA_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["EXTNOTIF_CONFIG"] = 2] = "EXTNOTIF_CONFIG"; | ||
/** | ||
@@ -94,5 +104,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_MQTT_CONFIG = 9; | ||
* @generated from protobuf enum value: STOREFORWARD_CONFIG = 3; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_MQTT_CONFIG"] = 9] = "MODULE_MQTT_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["STOREFORWARD_CONFIG"] = 3] = "STOREFORWARD_CONFIG"; | ||
/** | ||
@@ -102,5 +112,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_SERIAL_CONFIG = 10; | ||
* @generated from protobuf enum value: RANGETEST_CONFIG = 4; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_SERIAL_CONFIG"] = 10] = "MODULE_SERIAL_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["RANGETEST_CONFIG"] = 4] = "RANGETEST_CONFIG"; | ||
/** | ||
@@ -110,5 +120,5 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_EXTNOTIF_CONFIG = 11; | ||
* @generated from protobuf enum value: TELEMETRY_CONFIG = 5; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_EXTNOTIF_CONFIG"] = 11] = "MODULE_EXTNOTIF_CONFIG"; | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["TELEMETRY_CONFIG"] = 5] = "TELEMETRY_CONFIG"; | ||
/** | ||
@@ -118,27 +128,6 @@ * | ||
* | ||
* @generated from protobuf enum value: MODULE_STOREFORWARD_CONFIG = 12; | ||
* @generated from protobuf enum value: CANNEDMSG_CONFIG = 6; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_STOREFORWARD_CONFIG"] = 12] = "MODULE_STOREFORWARD_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_RANGETEST_CONFIG = 13; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_RANGETEST_CONFIG"] = 13] = "MODULE_RANGETEST_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_TELEMETRY_CONFIG = 14; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_TELEMETRY_CONFIG"] = 14] = "MODULE_TELEMETRY_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_CANNEDMSG_CONFIG = 15; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_CANNEDMSG_CONFIG"] = 15] = "MODULE_CANNEDMSG_CONFIG"; | ||
})(AdminMessage_ConfigType || (AdminMessage_ConfigType = {})); | ||
AdminMessage_ModuleConfigType[AdminMessage_ModuleConfigType["CANNEDMSG_CONFIG"] = 6] = "CANNEDMSG_CONFIG"; | ||
})(AdminMessage_ModuleConfigType || (AdminMessage_ModuleConfigType = {})); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -161,2 +150,6 @@ class AdminMessage$Type extends MessageType { | ||
{ no: 13, name: "confirm_set_config", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 14, name: "get_module_config_request", kind: "enum", oneof: "variant", T: () => ["AdminMessage.ModuleConfigType", AdminMessage_ModuleConfigType] }, | ||
{ no: 15, name: "get_module_config_response", kind: "message", oneof: "variant", T: () => ModuleConfig }, | ||
{ no: 16, name: "set_module_config", kind: "message", oneof: "variant", T: () => ModuleConfig }, | ||
{ no: 17, name: "confirm_set_module_config", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 32, name: "confirm_set_channel", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, | ||
@@ -163,0 +156,0 @@ { no: 33, name: "confirm_set_radio", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.57", | ||
"version": "0.6.58", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0-only", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
504584
84
10568