@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.82 to 0.6.83
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { TelemetrySensorType } from "./telemetry"; | ||
/** | ||
@@ -443,20 +442,2 @@ * | ||
* | ||
* 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 environment_read_error_count_threshold = 5; | ||
*/ | ||
environmentReadErrorCountThreshold: 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 environment_recovery_interval = 6; | ||
*/ | ||
environmentRecoveryInterval: number; | ||
/** | ||
* | ||
* We'll always read the sensor in Celsius, but sometimes we might want to | ||
@@ -468,16 +449,2 @@ * display the results in Fahrenheit as a "user preference". | ||
environmentDisplayFahrenheit: boolean; | ||
/** | ||
* | ||
* Specify the sensor type | ||
* | ||
* @generated from protobuf field: TelemetrySensorType environment_sensor_type = 8; | ||
*/ | ||
environmentSensorType: TelemetrySensorType; | ||
/** | ||
* | ||
* Specify the peferred GPIO Pin for sensor readings | ||
* | ||
* @generated from protobuf field: uint32 environment_sensor_pin = 9; | ||
*/ | ||
environmentSensorPin: number; | ||
} | ||
@@ -484,0 +451,0 @@ /** |
@@ -5,3 +5,2 @@ // @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { TelemetrySensorType } from "./telemetry"; | ||
/** | ||
@@ -273,7 +272,3 @@ * | ||
{ no: 4, name: "environment_screen_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 5, name: "environment_read_error_count_threshold", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 6, name: "environment_recovery_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 7, name: "environment_display_fahrenheit", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 8, name: "environment_sensor_type", kind: "enum", T: () => ["TelemetrySensorType", TelemetrySensorType] }, | ||
{ no: 9, name: "environment_sensor_pin", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
{ no: 7, name: "environment_display_fahrenheit", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
]); | ||
@@ -280,0 +275,0 @@ } |
@@ -147,42 +147,7 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* Moderate accuracy temperature | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
DHT11 = 1, | ||
/** | ||
* | ||
* High accuracy temperature | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
DS18B20 = 2, | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
DHT12 = 3, | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
DHT21 = 4, | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
DHT22 = 5, | ||
/** | ||
* | ||
* High accuracy temperature, pressure, humidity | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
* @generated from protobuf enum value: BME280 = 1; | ||
*/ | ||
BME280 = 6, | ||
BME280 = 1, | ||
/** | ||
@@ -192,5 +157,5 @@ * | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
* @generated from protobuf enum value: BME680 = 2; | ||
*/ | ||
BME680 = 7, | ||
BME680 = 2, | ||
/** | ||
@@ -200,19 +165,12 @@ * | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
* @generated from protobuf enum value: MCP9808 = 3; | ||
*/ | ||
MCP9808 = 8, | ||
MCP9808 = 3, | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
SHTC3 = 9, | ||
/** | ||
* | ||
* Moderate accuracy current and voltage | ||
* | ||
* @generated from protobuf enum value: INA260 = 10; | ||
* @generated from protobuf enum value: INA260 = 4; | ||
*/ | ||
INA260 = 10, | ||
INA260 = 4, | ||
/** | ||
@@ -222,5 +180,5 @@ * | ||
* | ||
* @generated from protobuf enum value: INA219 = 11; | ||
* @generated from protobuf enum value: INA219 = 5; | ||
*/ | ||
INA219 = 11 | ||
INA219 = 5 | ||
} | ||
@@ -227,0 +185,0 @@ declare class DeviceMetrics$Type extends MessageType<DeviceMetrics> { |
@@ -22,42 +22,7 @@ // @generated by protobuf-ts 2.7.0 with parameter long_type_string | ||
* | ||
* Moderate accuracy temperature | ||
* | ||
* @generated from protobuf enum value: DHT11 = 1; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT11"] = 1] = "DHT11"; | ||
/** | ||
* | ||
* High accuracy temperature | ||
* | ||
* @generated from protobuf enum value: DS18B20 = 2; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DS18B20"] = 2] = "DS18B20"; | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT12 = 3; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT12"] = 3] = "DHT12"; | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT21 = 4; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT21"] = 4] = "DHT21"; | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: DHT22 = 5; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["DHT22"] = 5] = "DHT22"; | ||
/** | ||
* | ||
* High accuracy temperature, pressure, humidity | ||
* | ||
* @generated from protobuf enum value: BME280 = 6; | ||
* @generated from protobuf enum value: BME280 = 1; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["BME280"] = 6] = "BME280"; | ||
TelemetrySensorType[TelemetrySensorType["BME280"] = 1] = "BME280"; | ||
/** | ||
@@ -67,5 +32,5 @@ * | ||
* | ||
* @generated from protobuf enum value: BME680 = 7; | ||
* @generated from protobuf enum value: BME680 = 2; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["BME680"] = 7] = "BME680"; | ||
TelemetrySensorType[TelemetrySensorType["BME680"] = 2] = "BME680"; | ||
/** | ||
@@ -75,19 +40,12 @@ * | ||
* | ||
* @generated from protobuf enum value: MCP9808 = 8; | ||
* @generated from protobuf enum value: MCP9808 = 3; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["MCP9808"] = 8] = "MCP9808"; | ||
TelemetrySensorType[TelemetrySensorType["MCP9808"] = 3] = "MCP9808"; | ||
/** | ||
* | ||
* Moderate accuracy temperature and humidity | ||
* | ||
* @generated from protobuf enum value: SHTC3 = 9; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["SHTC3"] = 9] = "SHTC3"; | ||
/** | ||
* | ||
* Moderate accuracy current and voltage | ||
* | ||
* @generated from protobuf enum value: INA260 = 10; | ||
* @generated from protobuf enum value: INA260 = 4; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["INA260"] = 10] = "INA260"; | ||
TelemetrySensorType[TelemetrySensorType["INA260"] = 4] = "INA260"; | ||
/** | ||
@@ -97,5 +55,5 @@ * | ||
* | ||
* @generated from protobuf enum value: INA219 = 11; | ||
* @generated from protobuf enum value: INA219 = 5; | ||
*/ | ||
TelemetrySensorType[TelemetrySensorType["INA219"] = 11] = "INA219"; | ||
TelemetrySensorType[TelemetrySensorType["INA219"] = 5] = "INA219"; | ||
})(TelemetrySensorType || (TelemetrySensorType = {})); | ||
@@ -102,0 +60,0 @@ // @generated message type with reflection information, may provide speed optimized methods |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.82", | ||
"version": "0.6.83", | ||
"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
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
511241
10500