@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -415,3 +415,3 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* Preferences for the ExternalNotificationModule | ||
* Enable the ExternalNotificationModule | ||
* | ||
@@ -423,3 +423,4 @@ * @generated from protobuf field: bool enabled = 1; | ||
* | ||
* TODO: REPLACE | ||
* When using in On/Off mode, keep the output on for this many | ||
* milliseconds. Default 1000ms (1 second). | ||
* | ||
@@ -431,3 +432,5 @@ * @generated from protobuf field: uint32 output_ms = 2; | ||
* | ||
* TODO: REPLACE | ||
* Define the output pin GPIO setting Defaults to | ||
* EXT_NOTIFY_OUT if set for the board. | ||
* In standalone devices this pin should drive the LED to match the UI. | ||
* | ||
@@ -439,4 +442,21 @@ * @generated from protobuf field: uint32 output = 3; | ||
* | ||
* TODO: REPLACE | ||
* Optional: Define a secondary output pin for a vibra motor | ||
* This is used in standalone devices to match the UI. | ||
* | ||
* @generated from protobuf field: uint32 output_vibra = 8; | ||
*/ | ||
outputVibra: number; | ||
/** | ||
* | ||
* Optional: Define a tertiary output pin for an active buzzer | ||
* This is used in standalone devices to to match the UI. | ||
* | ||
* @generated from protobuf field: uint32 output_buzzer = 9; | ||
*/ | ||
outputBuzzer: number; | ||
/** | ||
* | ||
* IF this is true, the 'output' Pin will be pulled active high, false | ||
* means active low. | ||
* | ||
* @generated from protobuf field: bool active = 4; | ||
@@ -447,3 +467,3 @@ */ | ||
* | ||
* TODO: REPLACE | ||
* True: Alert when a text message arrives (output) | ||
* | ||
@@ -455,4 +475,18 @@ * @generated from protobuf field: bool alert_message = 5; | ||
* | ||
* TODO: REPLACE | ||
* True: Alert when a text message arrives (output_vibra) | ||
* | ||
* @generated from protobuf field: bool alert_message_vibra = 10; | ||
*/ | ||
alertMessageVibra: boolean; | ||
/** | ||
* | ||
* True: Alert when a text message arrives (output_buzzer) | ||
* | ||
* @generated from protobuf field: bool alert_message_buzzer = 11; | ||
*/ | ||
alertMessageBuzzer: boolean; | ||
/** | ||
* | ||
* True: Alert when the bell character is received (output) | ||
* | ||
* @generated from protobuf field: bool alert_bell = 6; | ||
@@ -463,7 +497,32 @@ */ | ||
* | ||
* TODO: REPLACE | ||
* True: Alert when the bell character is received (output_vibra) | ||
* | ||
* @generated from protobuf field: bool alert_bell_vibra = 12; | ||
*/ | ||
alertBellVibra: boolean; | ||
/** | ||
* | ||
* True: Alert when the bell character is received (output_buzzer) | ||
* | ||
* @generated from protobuf field: bool alert_bell_buzzer = 13; | ||
*/ | ||
alertBellBuzzer: boolean; | ||
/** | ||
* | ||
* use a PWM output instead of a simple on/off output. This will ignore | ||
* the 'output', 'output_ms' and 'active' settings and use the | ||
* device.buzzer_gpio instead. | ||
* | ||
* @generated from protobuf field: bool use_pwm = 7; | ||
*/ | ||
usePwm: boolean; | ||
/** | ||
* | ||
* The notification will toggle with 'output_ms' for this time of seconds. | ||
* Default is 0 which means don't repeat at all. 60 would mean blink | ||
* and/or beep for 60 seconds | ||
* | ||
* @generated from protobuf field: uint32 nag_timeout = 14; | ||
*/ | ||
nagTimeout: number; | ||
} | ||
@@ -470,0 +529,0 @@ /** |
@@ -296,6 +296,13 @@ // @generated by protobuf-ts 2.8.2 with parameter long_type_string | ||
{ no: 3, name: "output", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 8, name: "output_vibra", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 9, name: "output_buzzer", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 4, name: "active", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 5, name: "alert_message", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 10, name: "alert_message_vibra", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 11, name: "alert_message_buzzer", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 6, name: "alert_bell", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 7, name: "use_pwm", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 12, name: "alert_bell_vibra", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 13, name: "alert_bell_buzzer", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 7, name: "use_pwm", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 14, name: "nag_timeout", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
]); | ||
@@ -302,0 +309,0 @@ } |
@@ -221,3 +221,10 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
*/ | ||
QMC5883L = 11 | ||
QMC5883L = 11, | ||
/** | ||
* | ||
* High accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: SHT31 = 12; | ||
*/ | ||
SHT31 = 12 | ||
} | ||
@@ -224,0 +231,0 @@ declare class DeviceMetrics$Type extends MessageType<DeviceMetrics> { |
@@ -97,2 +97,9 @@ // @generated by protobuf-ts 2.8.2 with parameter long_type_string | ||
TelemetrySensorType[TelemetrySensorType["QMC5883L"] = 11] = "QMC5883L"; | ||
/** | ||
* | ||
* High accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: SHT31 = 12; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["SHT31"] = 12] = "SHT31"; | ||
})(TelemetrySensorType || (TelemetrySensorType = {})); | ||
@@ -99,0 +106,0 @@ // @generated message type with reflection information, may provide speed optimized methods |
@@ -34,2 +34,3 @@ import { Types } from "./index.js"; | ||
// this.pendingRead = false; | ||
this.log.debug(Types.Emitter[Types.Emitter.constructor], `🔷 iBleConnection instantiated`); | ||
} | ||
@@ -36,0 +37,0 @@ /** |
@@ -24,2 +24,3 @@ import { Types } from "./index.js"; | ||
this.abortController = new AbortController(); | ||
this.log.debug(Types.Emitter[Types.Emitter.constructor], `🔷 iHttpConnection instantiated`); | ||
} | ||
@@ -26,0 +27,0 @@ /** |
@@ -30,2 +30,3 @@ import { SubEvent } from "sub-events"; | ||
this.preventLock = false; | ||
this.log.debug(Types.Emitter[Types.Emitter.constructor], `🔷 iSerialConnection instantiated`); | ||
} | ||
@@ -32,0 +33,0 @@ /** |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -41,3 +41,3 @@ "license": "GPL-3.0-only", | ||
"sub-events": "^1.9.0", | ||
"tslog": "^4.4.4" | ||
"tslog": "^4.7.0" | ||
}, | ||
@@ -48,5 +48,5 @@ "devDependencies": { | ||
"@types/web-bluetooth": "^0.0.16", | ||
"@typescript-eslint/eslint-plugin": "^5.46.0", | ||
"@typescript-eslint/parser": "^5.46.0", | ||
"eslint": "^8.29.0", | ||
"@typescript-eslint/eslint-plugin": "^5.47.1", | ||
"@typescript-eslint/parser": "^5.47.1", | ||
"eslint": "^8.30.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -59,5 +59,5 @@ "eslint-import-resolver-typescript": "^3.5.2", | ||
"prettier-plugin-jsdoc": "^0.4.2", | ||
"typedoc": "^0.23.21", | ||
"typedoc": "^0.23.23", | ||
"typescript": "^4.9.4" | ||
} | ||
} |
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
565266
11787
Updatedtslog@^4.7.0