@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.74 to 0.6.76
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "admin.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "apponly.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "cannedmessages.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "channel.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -69,3 +69,3 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* TODO: REPLACE | ||
* Configuration | ||
* | ||
@@ -116,6 +116,3 @@ * @generated from protobuf message Config.DeviceConfig | ||
* Defines the device's role on the Mesh network | ||
* unset | ||
* Behave normally. | ||
* Router | ||
* Functions as a router | ||
* unset - 0 | ||
* | ||
@@ -145,3 +142,3 @@ * @generated from protobuf enum Config.DeviceConfig.Role | ||
* Uses an agressive algirithem for the flood networking so packets will | ||
* prefer to be routed over this node. Also assume that this will be generally | ||
* prefer to be routed over this node. Also assume that this will be | ||
* unattended and so will turn off the wifi/ble radio as well as the oled screen. | ||
@@ -166,3 +163,3 @@ * | ||
* | ||
* TODO: REPLACE | ||
* Position Config | ||
* | ||
@@ -308,3 +305,4 @@ * @generated from protobuf message Config.PositionConfig | ||
* | ||
* TODO: REPLACE | ||
* Power Config\ | ||
* See [power management](/docs/software/other/power) for additional power management state machine option details. | ||
* | ||
@@ -317,2 +315,3 @@ * @generated from protobuf message Config.PowerConfig | ||
* Sets the current of the battery charger | ||
* TBEAM 1.1 Only | ||
* | ||
@@ -327,2 +326,3 @@ * @generated from protobuf field: Config.PowerConfig.ChargeCurrent charge_current = 1; | ||
* YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case). | ||
* CLI Only Option | ||
* | ||
@@ -334,10 +334,2 @@ * @generated from protobuf field: bool is_power_saving = 2; | ||
* | ||
* Circumvents the logic block for determining whether the device is powered or not. | ||
* Useful for devices with finicky ADC issues on the battery sense pins. | ||
* | ||
* @generated from protobuf field: bool is_always_powered = 3; | ||
*/ | ||
isAlwaysPowered: boolean; | ||
/** | ||
* | ||
* If non-zero, the device will fully power off this many seconds after external power is removed. | ||
@@ -358,4 +350,4 @@ * | ||
* | ||
* Power management state machine option. | ||
* See [power management](/docs/software/other/power) for details. | ||
* Wait Bluetooth Seconds | ||
* The number of seconds for to wait before turning of BLE in No Bluetooth states\ | ||
* 0 for default of 1 minute | ||
@@ -368,4 +360,5 @@ * | ||
* | ||
* Power management state machine option. | ||
* See [power management](/docs/software/other/power) for details. | ||
* Mesh Super Deep Sleep Timeout Seconds | ||
* While in Light Sleep if this value is exceeded we will lower into super deep sleep | ||
* for sds_secs (default 1 year) or a button press | ||
* 0 for default of two hours, MAXUINT for disabled | ||
@@ -378,4 +371,5 @@ * | ||
* | ||
* Power management state machine option. | ||
* See [power management](/docs/software/other/power) for details. | ||
* Super Deep Sleep Seconds | ||
* While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep | ||
* for this value (default 1 year) or a button press | ||
* 0 for default of one year | ||
@@ -388,4 +382,5 @@ * | ||
* | ||
* Power management state machine option. | ||
* See [power management](/docs/software/other/power) for details. | ||
* Light Sleep Seconds | ||
* In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on | ||
* ESP32 Only | ||
* 0 for default of 3600 | ||
@@ -398,4 +393,4 @@ * | ||
* | ||
* Power management state machine option. | ||
* See [power management](/docs/software/other/power) for details. | ||
* Minimum Wake Seconds | ||
* While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value | ||
* 0 for default of 10 seconds | ||
@@ -409,4 +404,4 @@ * | ||
* | ||
* Sets the charge control current of devices with a battery charger that can be | ||
* configured. This is passed into the axp power management chip like on the tbeam. | ||
* Sets the charge control current of devices with a battery charger that can be configured | ||
* **TBEAM 1.1 Only** | ||
* | ||
@@ -413,0 +408,0 @@ * @generated from protobuf enum Config.PowerConfig.ChargeCurrent |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "config.proto" (syntax proto3) | ||
@@ -8,6 +8,3 @@ // tslint:disable | ||
* Defines the device's role on the Mesh network | ||
* unset | ||
* Behave normally. | ||
* Router | ||
* Functions as a router | ||
* unset - 0 | ||
* | ||
@@ -38,3 +35,3 @@ * @generated from protobuf enum Config.DeviceConfig.Role | ||
* Uses an agressive algirithem for the flood networking so packets will | ||
* prefer to be routed over this node. Also assume that this will be generally | ||
* prefer to be routed over this node. Also assume that this will be | ||
* unattended and so will turn off the wifi/ble radio as well as the oled screen. | ||
@@ -135,4 +132,4 @@ * | ||
* | ||
* Sets the charge control current of devices with a battery charger that can be | ||
* configured. This is passed into the axp power management chip like on the tbeam. | ||
* Sets the charge control current of devices with a battery charger that can be configured | ||
* **TBEAM 1.1 Only** | ||
* | ||
@@ -542,3 +539,2 @@ * @generated from protobuf enum Config.PowerConfig.ChargeCurrent | ||
{ no: 2, name: "is_power_saving", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 3, name: "is_always_powered", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 4, name: "on_battery_shutdown_after_secs", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
@@ -545,0 +541,0 @@ { no: 6, name: "adc_multiplier_override", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ }, |
@@ -94,2 +94,11 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
channels: Channel[]; | ||
/** | ||
* | ||
* A version integer used to invalidate old save files when we make | ||
* incompatible changes This integer is set at build time and is private to | ||
* NodeDB.cpp in the device code. | ||
* | ||
* @generated from protobuf field: uint32 version = 2; | ||
*/ | ||
version: number; | ||
} | ||
@@ -96,0 +105,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "deviceonly.proto" (syntax proto3) | ||
@@ -63,3 +63,4 @@ // tslint:disable | ||
super("ChannelFile", [ | ||
{ no: 1, name: "channels", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Channel } | ||
{ no: 1, name: "channels", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Channel }, | ||
{ no: 2, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
]); | ||
@@ -66,0 +67,0 @@ } |
@@ -21,3 +21,3 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Device | ||
* | ||
@@ -29,3 +29,3 @@ * @generated from protobuf field: Config.DeviceConfig device = 1; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the GPS Position | ||
* | ||
@@ -37,3 +37,3 @@ * @generated from protobuf field: Config.PositionConfig position = 2; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Power settings | ||
* | ||
@@ -45,3 +45,3 @@ * @generated from protobuf field: Config.PowerConfig power = 3; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Wifi Settings | ||
* | ||
@@ -53,3 +53,3 @@ * @generated from protobuf field: Config.WiFiConfig wifi = 4; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Display | ||
* | ||
@@ -61,3 +61,3 @@ * @generated from protobuf field: Config.DisplayConfig display = 5; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Lora Radio | ||
* | ||
@@ -67,2 +67,11 @@ * @generated from protobuf field: Config.LoRaConfig lora = 6; | ||
lora?: Config_LoRaConfig; | ||
/** | ||
* | ||
* A version integer used to invalidate old save files when we make | ||
* incompatible changes This integer is set at build time and is private to | ||
* NodeDB.cpp in the device code. | ||
* | ||
* @generated from protobuf field: uint32 version = 7; | ||
*/ | ||
version: number; | ||
} | ||
@@ -75,3 +84,3 @@ /** | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the MQTT module | ||
* | ||
@@ -83,3 +92,3 @@ * @generated from protobuf field: ModuleConfig.MQTTConfig mqtt = 1; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Serial module | ||
* | ||
@@ -91,3 +100,3 @@ * @generated from protobuf field: ModuleConfig.SerialConfig serial = 2; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the ExternalNotification module | ||
* | ||
@@ -99,3 +108,3 @@ * @generated from protobuf field: ModuleConfig.ExternalNotificationConfig external_notification = 3; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Store & Forward module | ||
* | ||
@@ -107,3 +116,3 @@ * @generated from protobuf field: ModuleConfig.StoreForwardConfig store_forward = 4; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the RangeTest module | ||
* | ||
@@ -115,3 +124,3 @@ * @generated from protobuf field: ModuleConfig.RangeTestConfig range_test = 5; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Telemetry module | ||
* | ||
@@ -123,3 +132,3 @@ * @generated from protobuf field: ModuleConfig.TelemetryConfig telemetry = 6; | ||
* | ||
* TODO: REPLACE | ||
* The part of the config that is specific to the Canned Message module | ||
* | ||
@@ -129,2 +138,11 @@ * @generated from protobuf field: ModuleConfig.CannedMessageConfig canned_message = 7; | ||
cannedMessage?: ModuleConfig_CannedMessageConfig; | ||
/** | ||
* | ||
* A version integer used to invalidate old save files when we make | ||
* incompatible changes This integer is set at build time and is private to | ||
* NodeDB.cpp in the device code. | ||
* | ||
* @generated from protobuf field: uint32 version = 8; | ||
*/ | ||
version: number; | ||
} | ||
@@ -131,0 +149,0 @@ declare class LocalConfig$Type extends MessageType<LocalConfig> { |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "localonly.proto" (syntax proto3) | ||
@@ -27,3 +27,4 @@ // tslint:disable | ||
{ no: 5, name: "display", kind: "message", T: () => Config_DisplayConfig }, | ||
{ no: 6, name: "lora", kind: "message", T: () => Config_LoRaConfig } | ||
{ no: 6, name: "lora", kind: "message", T: () => Config_LoRaConfig }, | ||
{ no: 7, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
]); | ||
@@ -46,3 +47,4 @@ } | ||
{ no: 6, name: "telemetry", kind: "message", T: () => ModuleConfig_TelemetryConfig }, | ||
{ no: 7, name: "canned_message", kind: "message", T: () => ModuleConfig_CannedMessageConfig } | ||
{ no: 7, name: "canned_message", kind: "message", T: () => ModuleConfig_CannedMessageConfig }, | ||
{ no: 8, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
]); | ||
@@ -49,0 +51,0 @@ } |
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { Config } from "./config"; | ||
import { DeviceMetrics } from "./telemetry"; | ||
@@ -1250,2 +1251,11 @@ import { PortNum } from "./portnums"; | ||
} | { | ||
oneofKind: "config"; | ||
/** | ||
* | ||
* Include a part of the config (was: RadioConfig radio) | ||
* | ||
* @generated from protobuf field: Config config = 6; | ||
*/ | ||
config: Config; | ||
} | { | ||
oneofKind: "logRecord"; | ||
@@ -1252,0 +1262,0 @@ /** |
@@ -1,5 +0,6 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "mesh.proto" (syntax proto3) | ||
// tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { Config } from "./config"; | ||
import { DeviceMetrics } from "./telemetry"; | ||
@@ -879,2 +880,3 @@ import { PortNum } from "./portnums"; | ||
{ no: 4, name: "node_info", kind: "message", oneof: "payloadVariant", T: () => NodeInfo }, | ||
{ no: 6, name: "config", kind: "message", oneof: "payloadVariant", T: () => Config }, | ||
{ no: 7, name: "log_record", kind: "message", oneof: "payloadVariant", T: () => LogRecord }, | ||
@@ -881,0 +883,0 @@ { no: 8, name: "config_complete_id", kind: "scalar", oneof: "payloadVariant", T: 13 /*ScalarType.UINT32*/ }, |
@@ -5,3 +5,3 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* TODO: REPLACE | ||
* Module Config | ||
* | ||
@@ -83,3 +83,3 @@ * @generated from protobuf message ModuleConfig | ||
* | ||
* TODO: REPLACE | ||
* MQTT Client Config | ||
* | ||
@@ -137,3 +137,3 @@ * @generated from protobuf message ModuleConfig.MQTTConfig | ||
* | ||
* TODO: REPLACE | ||
* Serial Config | ||
* | ||
@@ -288,3 +288,3 @@ * @generated from protobuf message ModuleConfig.SerialConfig | ||
* | ||
* TODO: REPLACE | ||
* External Notifications Config | ||
* | ||
@@ -340,3 +340,3 @@ * @generated from protobuf message ModuleConfig.ExternalNotificationConfig | ||
* | ||
* TODO: REPLACE | ||
* Store and Forward Module Config | ||
* | ||
@@ -348,4 +348,3 @@ * @generated from protobuf message ModuleConfig.StoreForwardConfig | ||
* | ||
* Preferences for the StoreForwardModule | ||
* FIXME - Move this out of UserPreferences and into a section for module configuration. (was 136) | ||
* Enable the Store and Forward Module | ||
* | ||
@@ -386,3 +385,3 @@ * @generated from protobuf field: bool enabled = 1; | ||
* | ||
* TODO: REPLACE | ||
* Preferences for the RangeTestModule | ||
* | ||
@@ -394,4 +393,3 @@ * @generated from protobuf message ModuleConfig.RangeTestConfig | ||
* | ||
* Preferences for the RangeTestModule | ||
* FIXME - Move this out of UserPreferences and into a section for module configuration. | ||
* Enable the Range Test Module | ||
* | ||
@@ -403,3 +401,3 @@ * @generated from protobuf field: bool enabled = 1; | ||
* | ||
* TODO: REPLACE | ||
* Send out range test messages from this node | ||
* | ||
@@ -411,3 +409,4 @@ * @generated from protobuf field: uint32 sender = 2; | ||
* | ||
* TODO: REPLACE | ||
* Bool value indicating that this node should save a RangeTest.csv file. | ||
* ESP32 Only | ||
* | ||
@@ -428,3 +427,3 @@ * @generated from protobuf field: bool save = 3; | ||
* Interval in seconds of how often we should try to send our | ||
* device measurements to the mesh | ||
* device metrics to the mesh | ||
* | ||
@@ -431,0 +430,0 @@ * @generated from protobuf field: uint32 device_update_interval = 1; |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "module_config.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "mqtt.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "portnums.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "remote_hardware.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "storeforward.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.6.0 with parameter long_type_string | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
// @generated from protobuf file "telemetry.proto" (syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -30,2 +30,4 @@ export class Queue { | ||
if (item) { | ||
//delay 300ms | ||
await new Promise((resolve) => setTimeout(resolve, 300)); | ||
await writeToRadio(item.data); | ||
@@ -32,0 +34,0 @@ item.waitingAck = true; |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.74", | ||
"version": "0.6.76", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -28,8 +28,8 @@ "license": "GPL-3.0-only", | ||
"@meshtastic/eslint-config": "^1.0.8", | ||
"@protobuf-ts/runtime": "^2.6.0", | ||
"prettier": "^2.6.2", | ||
"@protobuf-ts/runtime": "^2.7.0", | ||
"prettier": "^2.7.1", | ||
"sub-events": "^1.8.9" | ||
}, | ||
"devDependencies": { | ||
"@protobuf-ts/plugin": "2.6.0", | ||
"@protobuf-ts/plugin": "2.7.0", | ||
"@types/w3c-web-serial": "^1.0.2", | ||
@@ -39,3 +39,3 @@ "@types/web-bluetooth": "^0.0.14", | ||
"typedoc": "^0.22.17", | ||
"typescript": "^4.7.3" | ||
"typescript": "^4.7.4" | ||
}, | ||
@@ -42,0 +42,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
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
501114
10443
Updated@protobuf-ts/runtime@^2.7.0
Updatedprettier@^2.7.1