@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.56 to 0.6.57
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { Config } from "./config"; | ||
import { Channel } from "./channel"; | ||
@@ -104,2 +105,38 @@ import { User } from "./mesh"; | ||
} | { | ||
oneofKind: "getConfigRequest"; | ||
/** | ||
* | ||
* Ask for the following config data to be sent | ||
* | ||
* @generated from protobuf field: AdminMessage.ConfigType get_config_request = 10; | ||
*/ | ||
getConfigRequest: AdminMessage_ConfigType; | ||
} | { | ||
oneofKind: "getConfigResponse"; | ||
/** | ||
* | ||
* Send the current Config in the response to this message. | ||
* | ||
* @generated from protobuf field: Config get_config_response = 11; | ||
*/ | ||
getConfigResponse: Config; | ||
} | { | ||
oneofKind: "setConfig"; | ||
/** | ||
* | ||
* Set the current Config | ||
* | ||
* @generated from protobuf field: Config set_config = 12; | ||
*/ | ||
setConfig: Config; | ||
} | { | ||
oneofKind: "confirmSetConfig"; | ||
/** | ||
* | ||
* 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_config = 13; | ||
*/ | ||
confirmSetConfig: boolean; | ||
} | { | ||
oneofKind: "confirmSetChannel"; | ||
@@ -265,2 +302,122 @@ /** | ||
} | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum AdminMessage.ConfigType | ||
*/ | ||
export declare enum AdminMessage_ConfigType { | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: ALL = 0; | ||
*/ | ||
ALL = 0, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: CORE_ONLY = 1; | ||
*/ | ||
CORE_ONLY = 1, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_ONLY = 2; | ||
*/ | ||
MODULE_ONLY = 2, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 3; | ||
*/ | ||
DEVICE_CONFIG = 3, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: GPS_CONFIG = 4; | ||
*/ | ||
GPS_CONFIG = 4, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: POWER_CONFIG = 5; | ||
*/ | ||
POWER_CONFIG = 5, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: WIFI_CONFIG = 6; | ||
*/ | ||
WIFI_CONFIG = 6, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 7; | ||
*/ | ||
DISPLAY_CONFIG = 7, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: LORA_CONFIG = 8; | ||
*/ | ||
LORA_CONFIG = 8, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_MQTT_CONFIG = 9; | ||
*/ | ||
MODULE_MQTT_CONFIG = 9, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_SERIAL_CONFIG = 10; | ||
*/ | ||
MODULE_SERIAL_CONFIG = 10, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_EXTNOTIF_CONFIG = 11; | ||
*/ | ||
MODULE_EXTNOTIF_CONFIG = 11, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_STOREFORWARD_CONFIG = 12; | ||
*/ | ||
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 | ||
} | ||
declare class AdminMessage$Type extends MessageType<AdminMessage> { | ||
@@ -267,0 +424,0 @@ constructor(); |
@@ -1,6 +0,130 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "admin.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "admin.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { Config } from "./config"; | ||
import { Channel } from "./channel"; | ||
import { User } from "./mesh"; | ||
import { RadioConfig } from "./radioconfig"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum AdminMessage.ConfigType | ||
*/ | ||
export var AdminMessage_ConfigType; | ||
(function (AdminMessage_ConfigType) { | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: ALL = 0; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["ALL"] = 0] = "ALL"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: CORE_ONLY = 1; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["CORE_ONLY"] = 1] = "CORE_ONLY"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_ONLY = 2; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_ONLY"] = 2] = "MODULE_ONLY"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DEVICE_CONFIG = 3; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DEVICE_CONFIG"] = 3] = "DEVICE_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: GPS_CONFIG = 4; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["GPS_CONFIG"] = 4] = "GPS_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: POWER_CONFIG = 5; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["POWER_CONFIG"] = 5] = "POWER_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: WIFI_CONFIG = 6; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["WIFI_CONFIG"] = 6] = "WIFI_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DISPLAY_CONFIG = 7; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["DISPLAY_CONFIG"] = 7] = "DISPLAY_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: LORA_CONFIG = 8; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["LORA_CONFIG"] = 8] = "LORA_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_MQTT_CONFIG = 9; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_MQTT_CONFIG"] = 9] = "MODULE_MQTT_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_SERIAL_CONFIG = 10; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_SERIAL_CONFIG"] = 10] = "MODULE_SERIAL_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_EXTNOTIF_CONFIG = 11; | ||
*/ | ||
AdminMessage_ConfigType[AdminMessage_ConfigType["MODULE_EXTNOTIF_CONFIG"] = 11] = "MODULE_EXTNOTIF_CONFIG"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MODULE_STOREFORWARD_CONFIG = 12; | ||
*/ | ||
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 = {})); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -19,2 +143,6 @@ class AdminMessage$Type extends MessageType { | ||
{ no: 9, name: "get_owner_response", kind: "message", oneof: "variant", T: () => User }, | ||
{ no: 10, name: "get_config_request", kind: "enum", oneof: "variant", T: () => ["AdminMessage.ConfigType", AdminMessage_ConfigType] }, | ||
{ no: 11, name: "get_config_response", kind: "message", oneof: "variant", T: () => Config }, | ||
{ no: 12, name: "set_config", kind: "message", oneof: "variant", T: () => Config }, | ||
{ no: 13, name: "confirm_set_config", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 32, name: "confirm_set_channel", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, | ||
@@ -21,0 +149,0 @@ { no: 33, name: "confirm_set_radio", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ }, |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "apponly.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "apponly.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ import { ChannelSettings } from "./channel"; |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "cannedmessages.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "cannedmessages.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ // @generated message type with reflection information, may provide speed optimized methods |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "channel.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "channel.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ /** |
@@ -95,2 +95,75 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
} | ||
/** | ||
* | ||
* This can be used for customizing the firmware distribution. If populated, | ||
* show a secondary bootup screen with cuatom logo and text for 2.5 seconds. | ||
* | ||
* @generated from protobuf message OEMStore | ||
*/ | ||
export interface OEMStore { | ||
/** | ||
* | ||
* The Logo width in Px | ||
* | ||
* @generated from protobuf field: uint32 oem_icon_width = 1; | ||
*/ | ||
oemIconWidth: number; | ||
/** | ||
* | ||
* The Logo height in Px | ||
* | ||
* @generated from protobuf field: uint32 oem_icon_height = 2; | ||
*/ | ||
oemIconHeight: number; | ||
/** | ||
* | ||
* The Logo in xbm bytechar format | ||
* | ||
* @generated from protobuf field: bytes oem_icon_bits = 3; | ||
*/ | ||
oemIconBits: Uint8Array; | ||
/** | ||
* | ||
* Use this font for the OEM text. | ||
* | ||
* @generated from protobuf field: ScreenFonts oem_font = 4; | ||
*/ | ||
oemFont: ScreenFonts; | ||
/** | ||
* | ||
* Use this font for the OEM text. | ||
* | ||
* @generated from protobuf field: string oem_text = 5; | ||
*/ | ||
oemText: string; | ||
} | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum ScreenFonts | ||
*/ | ||
export declare enum ScreenFonts { | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_SMALL = 0; | ||
*/ | ||
FONT_SMALL = 0, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_MEDIUM = 1; | ||
*/ | ||
FONT_MEDIUM = 1, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_LARGE = 2; | ||
*/ | ||
FONT_LARGE = 2 | ||
} | ||
declare class DeviceState$Type extends MessageType<DeviceState> { | ||
@@ -110,2 +183,9 @@ constructor(); | ||
export declare const ChannelFile: ChannelFile$Type; | ||
declare class OEMStore$Type extends MessageType<OEMStore> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message OEMStore | ||
*/ | ||
export declare const OEMStore: OEMStore$Type; | ||
export {}; |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "deviceonly.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "deviceonly.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -8,2 +10,32 @@ import { Channel } from "./channel"; | ||
import { MyNodeInfo } from "./mesh"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum ScreenFonts | ||
*/ | ||
export var ScreenFonts; | ||
(function (ScreenFonts) { | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_SMALL = 0; | ||
*/ | ||
ScreenFonts[ScreenFonts["FONT_SMALL"] = 0] = "FONT_SMALL"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_MEDIUM = 1; | ||
*/ | ||
ScreenFonts[ScreenFonts["FONT_MEDIUM"] = 1] = "FONT_MEDIUM"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: FONT_LARGE = 2; | ||
*/ | ||
ScreenFonts[ScreenFonts["FONT_LARGE"] = 2] = "FONT_LARGE"; | ||
})(ScreenFonts || (ScreenFonts = {})); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -40,2 +72,18 @@ class DeviceState$Type extends MessageType { | ||
export const ChannelFile = new ChannelFile$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class OEMStore$Type extends MessageType { | ||
constructor() { | ||
super("OEMStore", [ | ||
{ no: 1, name: "oem_icon_width", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 2, name: "oem_icon_height", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 3, name: "oem_icon_bits", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }, | ||
{ no: 4, name: "oem_font", kind: "enum", T: () => ["ScreenFonts", ScreenFonts] }, | ||
{ no: 5, name: "oem_text", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message OEMStore | ||
*/ | ||
export const OEMStore = new OEMStore$Type(); | ||
//# sourceMappingURL=deviceonly.js.map |
@@ -351,13 +351,2 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* Participants in the same network can self-group into different teams. | ||
* Short-term this can be used to visually differentiate them on the map; | ||
* in the longer term it could also help users to semi-automatically | ||
* select or ignore messages according to team affiliation. | ||
* In total, 14 teams are defined (encoded in 4 bits) | ||
* | ||
* @generated from protobuf field: Team team = 8; | ||
*/ | ||
team: Team; | ||
/** | ||
* | ||
* Transmit power at antenna connector, in decibel-milliwatt | ||
@@ -1599,116 +1588,2 @@ * An optional self-reported value useful in network planning, discovery | ||
* | ||
* The team colors are based on the names of "friendly teams" in ATAK: | ||
* https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/atak/ATAK/app/src/main/assets/filters/team_filters.xml | ||
* | ||
* @generated from protobuf enum Team | ||
*/ | ||
export declare enum Team { | ||
/** | ||
* | ||
* the default (unset) is "achromatic" (unaffiliated) | ||
* | ||
* @generated from protobuf enum value: CLEAR = 0; | ||
*/ | ||
CLEAR = 0, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: CYAN = 1; | ||
*/ | ||
CYAN = 1, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: WHITE = 2; | ||
*/ | ||
WHITE = 2, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: YELLOW = 3; | ||
*/ | ||
YELLOW = 3, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: ORANGE = 4; | ||
*/ | ||
ORANGE = 4, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MAGENTA = 5; | ||
*/ | ||
MAGENTA = 5, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: RED = 6; | ||
*/ | ||
RED = 6, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MAROON = 7; | ||
*/ | ||
MAROON = 7, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: PURPLE = 8; | ||
*/ | ||
PURPLE = 8, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DARK_BLUE = 9; | ||
*/ | ||
DARK_BLUE = 9, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BLUE = 10; | ||
*/ | ||
BLUE = 10, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: TEAL = 11; | ||
*/ | ||
TEAL = 11, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: GREEN = 12; | ||
*/ | ||
GREEN = 12, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DARK_GREEN = 13; | ||
*/ | ||
DARK_GREEN = 13, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BROWN = 14; | ||
*/ | ||
BROWN = 14 | ||
} | ||
/** | ||
* | ||
* Shared constants between device and phone | ||
@@ -1715,0 +1590,0 @@ * |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "mesh.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "mesh.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -535,117 +537,2 @@ import { DeviceMetrics } from "./telemetry"; | ||
* | ||
* The team colors are based on the names of "friendly teams" in ATAK: | ||
* https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/atak/ATAK/app/src/main/assets/filters/team_filters.xml | ||
* | ||
* @generated from protobuf enum Team | ||
*/ | ||
export var Team; | ||
(function (Team) { | ||
/** | ||
* | ||
* the default (unset) is "achromatic" (unaffiliated) | ||
* | ||
* @generated from protobuf enum value: CLEAR = 0; | ||
*/ | ||
Team[Team["CLEAR"] = 0] = "CLEAR"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: CYAN = 1; | ||
*/ | ||
Team[Team["CYAN"] = 1] = "CYAN"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: WHITE = 2; | ||
*/ | ||
Team[Team["WHITE"] = 2] = "WHITE"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: YELLOW = 3; | ||
*/ | ||
Team[Team["YELLOW"] = 3] = "YELLOW"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: ORANGE = 4; | ||
*/ | ||
Team[Team["ORANGE"] = 4] = "ORANGE"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MAGENTA = 5; | ||
*/ | ||
Team[Team["MAGENTA"] = 5] = "MAGENTA"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: RED = 6; | ||
*/ | ||
Team[Team["RED"] = 6] = "RED"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MAROON = 7; | ||
*/ | ||
Team[Team["MAROON"] = 7] = "MAROON"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: PURPLE = 8; | ||
*/ | ||
Team[Team["PURPLE"] = 8] = "PURPLE"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DARK_BLUE = 9; | ||
*/ | ||
Team[Team["DARK_BLUE"] = 9] = "DARK_BLUE"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BLUE = 10; | ||
*/ | ||
Team[Team["BLUE"] = 10] = "BLUE"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: TEAL = 11; | ||
*/ | ||
Team[Team["TEAL"] = 11] = "TEAL"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: GREEN = 12; | ||
*/ | ||
Team[Team["GREEN"] = 12] = "GREEN"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DARK_GREEN = 13; | ||
*/ | ||
Team[Team["DARK_GREEN"] = 13] = "DARK_GREEN"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BROWN = 14; | ||
*/ | ||
Team[Team["BROWN"] = 14] = "BROWN"; | ||
})(Team || (Team = {})); | ||
/** | ||
* | ||
* Shared constants between device and phone | ||
@@ -816,3 +703,2 @@ * | ||
{ no: 7, name: "is_licensed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 8, name: "team", kind: "enum", T: () => ["Team", Team] }, | ||
{ no: 10, name: "tx_power_dbm", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
@@ -819,0 +705,0 @@ { no: 11, name: "ant_gain_dbi", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "mqtt.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "mqtt.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ import { MeshPacket } from "./mesh"; |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "portnums.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "portnums.proto" (syntax proto3) | ||
// tslint:disable | ||
/** | ||
@@ -3,0 +5,0 @@ * |
@@ -443,66 +443,2 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* Preferences for the Telemetry Module (Environment) | ||
* FIXME - Move this out of UserPreferences and into a section for module configuration. | ||
* Enable/Disable the telemetry measurement module measurement collection | ||
* | ||
* @generated from protobuf field: bool telemetry_module_environment_measurement_enabled = 140; | ||
*/ | ||
telemetryModuleEnvironmentMeasurementEnabled: boolean; | ||
/** | ||
* | ||
* Enable/Disable the telemetry measurement module on-device display | ||
* | ||
* @generated from protobuf field: bool telemetry_module_environment_screen_enabled = 141; | ||
*/ | ||
telemetryModuleEnvironmentScreenEnabled: boolean; | ||
/** | ||
* | ||
* Sometimes sensor reads can fail. | ||
* If this happens, we will retry a configurable number of attempts, | ||
* each attempt will be delayed by the minimum required refresh rate for that sensor | ||
* | ||
* @generated from protobuf field: uint32 telemetry_module_environment_read_error_count_threshold = 142; | ||
*/ | ||
telemetryModuleEnvironmentReadErrorCountThreshold: number; | ||
/** | ||
* | ||
* Interval in seconds of how often we should try to send our | ||
* measurements to the mesh | ||
* | ||
* @generated from protobuf field: uint32 telemetry_module_device_update_interval = 143; | ||
*/ | ||
telemetryModuleDeviceUpdateInterval: number; | ||
/** | ||
* | ||
* Sometimes we can end up with more than read_error_count_threshold failures. | ||
* In this case, we will stop trying to read from the sensor for a while. | ||
* Wait this long until trying to read from the sensor again | ||
* | ||
* @generated from protobuf field: uint32 telemetry_module_environment_recovery_interval = 144; | ||
*/ | ||
telemetryModuleEnvironmentRecoveryInterval: number; | ||
/** | ||
* | ||
* We'll always read the sensor in Celsius, but sometimes we might want to | ||
* display the results in Fahrenheit as a "user preference". | ||
* | ||
* @generated from protobuf field: bool telemetry_module_environment_display_fahrenheit = 145; | ||
*/ | ||
telemetryModuleEnvironmentDisplayFahrenheit: boolean; | ||
/** | ||
* | ||
* Specify the sensor type | ||
* | ||
* @generated from protobuf field: RadioConfig.UserPreferences.TelemetrySensorType telemetry_module_environment_sensor_type = 146; | ||
*/ | ||
telemetryModuleEnvironmentSensorType: RadioConfig_UserPreferences_TelemetrySensorType; | ||
/** | ||
* | ||
* Specify the peferred GPIO Pin for sensor readings | ||
* | ||
* @generated from protobuf field: uint32 telemetry_module_environment_sensor_pin = 147; | ||
*/ | ||
telemetryModuleEnvironmentSensorPin: number; | ||
/** | ||
* | ||
* Bit field of boolean configuration options for POSITION messages | ||
@@ -674,10 +610,2 @@ * (bitwise OR of PositionFlags) | ||
adcMultiplierOverride: number; | ||
/** | ||
* | ||
* Interval in seconds of how often we should try to send our | ||
* environent measurements to the mesh | ||
* | ||
* @generated from protobuf field: uint32 telemetry_module_environment_update_interval = 177; | ||
*/ | ||
telemetryModuleEnvironmentUpdateInterval: number; | ||
} | ||
@@ -738,3 +666,19 @@ /** | ||
*/ | ||
BAUD_921600 = 11 | ||
BAUD_921600 = 11, | ||
/** | ||
* @generated from protobuf enum value: BAUD_110 = 12; | ||
*/ | ||
BAUD_110 = 12, | ||
/** | ||
* @generated from protobuf enum value: BAUD_300 = 13; | ||
*/ | ||
BAUD_300 = 13, | ||
/** | ||
* @generated from protobuf enum value: BAUD_600 = 14; | ||
*/ | ||
BAUD_600 = 14, | ||
/** | ||
* @generated from protobuf enum value: BAUD_1200 = 15; | ||
*/ | ||
BAUD_1200 = 15 | ||
} | ||
@@ -763,80 +707,2 @@ /** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum RadioConfig.UserPreferences.TelemetrySensorType | ||
*/ | ||
export declare enum RadioConfig_UserPreferences_TelemetrySensorType { | ||
/** | ||
* | ||
* No external telemetry sensor | ||
* | ||
* @generated from protobuf enum value: None = 0; | ||
*/ | ||
None = 0, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
DHT11 = 1, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
DS18B20 = 2, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
DHT12 = 3, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
DHT21 = 4, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
DHT22 = 5, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
*/ | ||
BME280 = 6, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
*/ | ||
BME680 = 7, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
*/ | ||
MCP9808 = 8, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
SHTC3 = 9 | ||
} | ||
/** | ||
* | ||
* The frequency/regulatory region the user has selected. | ||
@@ -843,0 +709,0 @@ * Note: In 1.0 builds (which must still be supported by the android app for a |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "radioconfig.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "radioconfig.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -59,2 +61,18 @@ /** | ||
RadioConfig_UserPreferences_Serial_Baud[RadioConfig_UserPreferences_Serial_Baud["BAUD_921600"] = 11] = "BAUD_921600"; | ||
/** | ||
* @generated from protobuf enum value: BAUD_110 = 12; | ||
*/ | ||
RadioConfig_UserPreferences_Serial_Baud[RadioConfig_UserPreferences_Serial_Baud["BAUD_110"] = 12] = "BAUD_110"; | ||
/** | ||
* @generated from protobuf enum value: BAUD_300 = 13; | ||
*/ | ||
RadioConfig_UserPreferences_Serial_Baud[RadioConfig_UserPreferences_Serial_Baud["BAUD_300"] = 13] = "BAUD_300"; | ||
/** | ||
* @generated from protobuf enum value: BAUD_600 = 14; | ||
*/ | ||
RadioConfig_UserPreferences_Serial_Baud[RadioConfig_UserPreferences_Serial_Baud["BAUD_600"] = 14] = "BAUD_600"; | ||
/** | ||
* @generated from protobuf enum value: BAUD_1200 = 15; | ||
*/ | ||
RadioConfig_UserPreferences_Serial_Baud[RadioConfig_UserPreferences_Serial_Baud["BAUD_1200"] = 15] = "BAUD_1200"; | ||
})(RadioConfig_UserPreferences_Serial_Baud || (RadioConfig_UserPreferences_Serial_Baud = {})); | ||
@@ -84,81 +102,2 @@ /** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum RadioConfig.UserPreferences.TelemetrySensorType | ||
*/ | ||
export var RadioConfig_UserPreferences_TelemetrySensorType; | ||
(function (RadioConfig_UserPreferences_TelemetrySensorType) { | ||
/** | ||
* | ||
* No external telemetry sensor | ||
* | ||
* @generated from protobuf enum value: None = 0; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["None"] = 0] = "None"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["DHT11"] = 1] = "DHT11"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["DS18B20"] = 2] = "DS18B20"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["DHT12"] = 3] = "DHT12"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["DHT21"] = 4] = "DHT21"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["DHT22"] = 5] = "DHT22"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["BME280"] = 6] = "BME280"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["BME680"] = 7] = "BME680"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["MCP9808"] = 8] = "MCP9808"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
RadioConfig_UserPreferences_TelemetrySensorType[RadioConfig_UserPreferences_TelemetrySensorType["SHTC3"] = 9] = "SHTC3"; | ||
})(RadioConfig_UserPreferences_TelemetrySensorType || (RadioConfig_UserPreferences_TelemetrySensorType = {})); | ||
/** | ||
* | ||
* The frequency/regulatory region the user has selected. | ||
@@ -720,10 +659,2 @@ * Note: In 1.0 builds (which must still be supported by the android app for a | ||
{ no: 139, name: "store_forward_module_history_return_window", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 140, name: "telemetry_module_environment_measurement_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 141, name: "telemetry_module_environment_screen_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 142, name: "telemetry_module_environment_read_error_count_threshold", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 143, name: "telemetry_module_device_update_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 144, name: "telemetry_module_environment_recovery_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 145, name: "telemetry_module_environment_display_fahrenheit", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 146, name: "telemetry_module_environment_sensor_type", kind: "enum", T: () => ["RadioConfig.UserPreferences.TelemetrySensorType", RadioConfig_UserPreferences_TelemetrySensorType] }, | ||
{ no: 147, name: "telemetry_module_environment_sensor_pin", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 150, name: "position_flags", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
@@ -750,4 +681,3 @@ { no: 151, name: "is_always_powered", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 174, name: "mqtt_encryption_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 175, name: "adc_multiplier_override", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ }, | ||
{ no: 177, name: "telemetry_module_environment_update_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
{ no: 175, name: "adc_multiplier_override", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ } | ||
]); | ||
@@ -754,0 +684,0 @@ } |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "remote_hardware.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "remote_hardware.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ /** |
@@ -1,2 +0,4 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "storeforward.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "storeforward.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
@@ -3,0 +5,0 @@ /** |
@@ -131,2 +131,80 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
} | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum TelemetrySensorType | ||
*/ | ||
export declare enum TelemetrySensorType { | ||
/** | ||
* | ||
* No external telemetry sensor | ||
* | ||
* @generated from protobuf enum value: NotSet = 0; | ||
*/ | ||
NotSet = 0, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
DHT11 = 1, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
DS18B20 = 2, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
DHT12 = 3, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
DHT21 = 4, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
DHT22 = 5, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
*/ | ||
BME280 = 6, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
*/ | ||
BME680 = 7, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
*/ | ||
MCP9808 = 8, | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
SHTC3 = 9 | ||
} | ||
declare class DeviceMetrics$Type extends MessageType<DeviceMetrics> { | ||
@@ -133,0 +211,0 @@ constructor(); |
@@ -1,3 +0,84 @@ | ||
// @generated by protobuf-ts 2.4.0 with parameter long_type_string,// @generated from protobuf file "telemetry.proto" (syntax proto3),// tslint:disable | ||
// @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
// @generated from protobuf file "telemetry.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum TelemetrySensorType | ||
*/ | ||
export var TelemetrySensorType; | ||
(function (TelemetrySensorType) { | ||
/** | ||
* | ||
* No external telemetry sensor | ||
* | ||
* @generated from protobuf enum value: NotSet = 0; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["NotSet"] = 0] = "NotSet"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT11"] = 1] = "DHT11"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DS18B20"] = 2] = "DS18B20"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT12"] = 3] = "DHT12"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT21"] = 4] = "DHT21"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT22"] = 5] = "DHT22"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["BME280"] = 6] = "BME280"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["BME680"] = 7] = "BME680"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["MCP9808"] = 8] = "MCP9808"; | ||
/** | ||
* | ||
* TODO: REPLACE | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["SHTC3"] = 9] = "SHTC3"; | ||
})(TelemetrySensorType || (TelemetrySensorType = {})); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -4,0 +85,0 @@ class DeviceMetrics$Type extends MessageType { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { IMeshDevice } from "./iMeshDevice.js"; | ||
@@ -16,3 +15,3 @@ import type { HTTPConnectionParameters } from "./types.js"; | ||
receiveBatchRequests: boolean; | ||
readLoop: NodeJS.Timer | null; | ||
readLoop: ReturnType<typeof setInterval> | null; | ||
peningRequest: boolean; | ||
@@ -19,0 +18,0 @@ abortController: AbortController; |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.56", | ||
"version": "0.6.57", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -28,3 +28,3 @@ "license": "GPL-3.0-only", | ||
"@meshtastic/eslint-config": "^1.0.8", | ||
"@protobuf-ts/runtime": "^2.4.0", | ||
"@protobuf-ts/runtime": "^2.5.0", | ||
"prettier": "^2.6.2", | ||
@@ -34,3 +34,3 @@ "sub-events": "^1.8.9" | ||
"devDependencies": { | ||
"@protobuf-ts/plugin": "2.4.0", | ||
"@protobuf-ts/plugin": "2.5.0", | ||
"@types/w3c-web-serial": "^1.0.2", | ||
@@ -40,3 +40,3 @@ "@types/web-bluetooth": "^0.0.14", | ||
"typedoc": "^0.22.15", | ||
"typescript": "^4.6.3" | ||
"typescript": "^4.6.4" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
485974
81
10189
Updated@protobuf-ts/runtime@^2.5.0