@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.52 to 0.6.53
@@ -1200,8 +1200,8 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* The packet num, used to allow the phone to request missing read packets from the FIFO, | ||
* The packet id, used to allow the phone to request missing read packets from the FIFO, | ||
* see our bluetooth docs | ||
* | ||
* @generated from protobuf field: uint32 num = 1; | ||
* @generated from protobuf field: uint32 id = 1; | ||
*/ | ||
num: number; | ||
id: number; | ||
/** | ||
@@ -1208,0 +1208,0 @@ * @generated from protobuf oneof: payloadVariant |
@@ -951,3 +951,3 @@ // @generated by protobuf-ts 2.2.4 with parameter long_type_string | ||
super("FromRadio", [ | ||
{ no: 1, name: "num", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 1, name: "id", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 11, name: "packet", kind: "message", oneof: "payloadVariant", T: () => MeshPacket }, | ||
@@ -954,0 +954,0 @@ { no: 3, name: "my_info", kind: "message", oneof: "payloadVariant", T: () => MyNodeInfo }, |
@@ -192,12 +192,10 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* How our location is shared with other nodes (or the local phone) | ||
* Should we disbale location sharing with other nodes (or the local phone) | ||
* | ||
* @generated from protobuf field: LocationSharing location_share = 32; | ||
* @generated from protobuf field: bool disable_location_share = 32; | ||
*/ | ||
locationShare: LocationSharing; | ||
disableLocationShare: boolean; | ||
/** | ||
* | ||
* How the GPS hardware in this unit is operated. | ||
* Note: This is independent of how our location is shared with other devices. | ||
* For that see LocationSharing | ||
* | ||
@@ -1024,4 +1022,2 @@ * @generated from protobuf field: GpsOperation gps_operation = 33; | ||
* How the GPS hardware in this unit is operated. | ||
* Note: This is independent of how our location is shared with other devices. | ||
* For that see LocationSharing | ||
* | ||
@@ -1130,31 +1126,2 @@ * @generated from protobuf enum GpsOperation | ||
* | ||
* How our location is shared with other nodes (or the local phone) | ||
* | ||
* @generated from protobuf enum LocationSharing | ||
*/ | ||
export declare enum LocationSharing { | ||
/** | ||
* | ||
* This is the default and treated as LocEnabled. | ||
* | ||
* @generated from protobuf enum value: LocUnset = 0; | ||
*/ | ||
LocUnset = 0, | ||
/** | ||
* | ||
* We are sharing our location | ||
* | ||
* @generated from protobuf enum value: LocEnabled = 1; | ||
*/ | ||
LocEnabled = 1, | ||
/** | ||
* | ||
* We are not sharing our location (if the unit has a GPS it will default to only get time - i.e. GpsOpTimeOnly) | ||
* | ||
* @generated from protobuf enum value: LocDisabled = 2; | ||
*/ | ||
LocDisabled = 2 | ||
} | ||
/** | ||
* | ||
* Bit field of boolean configuration options, indicating which optional | ||
@@ -1161,0 +1128,0 @@ * fields to include when assembling POSITION messages |
@@ -344,4 +344,2 @@ // @generated by protobuf-ts 2.2.4 with parameter long_type_string | ||
* How the GPS hardware in this unit is operated. | ||
* Note: This is independent of how our location is shared with other devices. | ||
* For that see LocationSharing | ||
* | ||
@@ -452,32 +450,2 @@ * @generated from protobuf enum GpsOperation | ||
* | ||
* How our location is shared with other nodes (or the local phone) | ||
* | ||
* @generated from protobuf enum LocationSharing | ||
*/ | ||
export var LocationSharing; | ||
(function (LocationSharing) { | ||
/** | ||
* | ||
* This is the default and treated as LocEnabled. | ||
* | ||
* @generated from protobuf enum value: LocUnset = 0; | ||
*/ | ||
LocationSharing[LocationSharing["LocUnset"] = 0] = "LocUnset"; | ||
/** | ||
* | ||
* We are sharing our location | ||
* | ||
* @generated from protobuf enum value: LocEnabled = 1; | ||
*/ | ||
LocationSharing[LocationSharing["LocEnabled"] = 1] = "LocEnabled"; | ||
/** | ||
* | ||
* We are not sharing our location (if the unit has a GPS it will default to only get time - i.e. GpsOpTimeOnly) | ||
* | ||
* @generated from protobuf enum value: LocDisabled = 2; | ||
*/ | ||
LocationSharing[LocationSharing["LocDisabled"] = 2] = "LocDisabled"; | ||
})(LocationSharing || (LocationSharing = {})); | ||
/** | ||
* | ||
* Bit field of boolean configuration options, indicating which optional | ||
@@ -666,3 +634,3 @@ * fields to include when assembling POSITION messages | ||
{ no: 40, name: "serial_disabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 32, name: "location_share", kind: "enum", T: () => ["LocationSharing", LocationSharing] }, | ||
{ no: 32, name: "disable_location_share", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 33, name: "gps_operation", kind: "enum", T: () => ["GpsOperation", GpsOperation] }, | ||
@@ -669,0 +637,0 @@ { no: 34, name: "gps_update_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, |
@@ -491,3 +491,3 @@ import { SubEvent } from "sub-events"; | ||
packet: MeshPacket.create({ | ||
id: decodedMessage.num | ||
id: decodedMessage.id | ||
}), | ||
@@ -499,3 +499,3 @@ data: decodedMessage.payloadVariant.nodeInfo | ||
packet: MeshPacket.create({ | ||
id: decodedMessage.num, | ||
id: decodedMessage.id, | ||
from: decodedMessage.payloadVariant.nodeInfo.num | ||
@@ -509,3 +509,3 @@ }), | ||
packet: MeshPacket.create({ | ||
id: decodedMessage.num, | ||
id: decodedMessage.id, | ||
from: decodedMessage.payloadVariant.nodeInfo.num | ||
@@ -512,0 +512,0 @@ }), |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.52", | ||
"version": "0.6.53", | ||
"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
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
443327
9152