@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.30 to 0.6.31
@@ -323,2 +323,28 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
team: Team; | ||
/** | ||
* | ||
* Transmit power at antenna connector, in decibel-milliwatt | ||
* An optional self-reported value useful in network planning, discovery | ||
* and positioning - along with ant_gain_dbi and ant_azimuth below | ||
* | ||
* @generated from protobuf field: uint32 tx_power_dbm = 10; | ||
*/ | ||
txPowerDbm: number; | ||
/** | ||
* | ||
* Antenna gain (applicable to both Tx and Rx), in decibel-isotropic | ||
* | ||
* @generated from protobuf field: uint32 ant_gain_dbi = 11; | ||
*/ | ||
antGainDbi: number; | ||
/** | ||
* | ||
* Directional antenna true azimuth *if applicable*, in degrees (0-360) | ||
* Only applicable in case of stationary nodes with a directional antenna | ||
* Zero = not applicable (mobile or omni) or not specified | ||
* (use a value of 360 to indicate an antenna azimuth of zero degrees) | ||
* | ||
* @generated from protobuf field: uint32 ant_azimuth = 12; | ||
*/ | ||
antAzimuth: number; | ||
} | ||
@@ -325,0 +351,0 @@ /** |
@@ -605,3 +605,6 @@ // @generated by protobuf-ts 2.0.7 with parameter long_type_string | ||
{ no: 7, name: "is_licensed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 8, name: "team", kind: "enum", T: () => ["Team", Team] } | ||
{ no: 8, name: "team", kind: "enum", T: () => ["Team", Team] }, | ||
{ no: 10, name: "tx_power_dbm", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 11, name: "ant_gain_dbi", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 12, name: "ant_azimuth", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } | ||
]); | ||
@@ -608,0 +611,0 @@ } |
@@ -33,2 +33,10 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* We should send our position this often (but only if it has changed significantly) | ||
* Defaults to 15 minutes | ||
* | ||
* @generated from protobuf field: bool position_broadcast_smart = 17; | ||
*/ | ||
positionBroadcastSmart: boolean; | ||
/** | ||
* | ||
* Send our owner info at least this often (also we always send once at boot - to rejoin the mesh) | ||
@@ -35,0 +43,0 @@ * |
@@ -382,2 +382,3 @@ // @generated by protobuf-ts 2.0.7 with parameter long_type_string | ||
{ no: 1, name: "position_broadcast_secs", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 17, name: "position_broadcast_smart", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 2, name: "send_owner_interval", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
@@ -384,0 +385,0 @@ { no: 4, name: "wait_bluetooth_secs", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, |
@@ -39,3 +39,4 @@ import { Types } from "./index.js"; | ||
} | ||
if (await this.ping()) { | ||
if (this.deviceStatus === Types.DeviceStatusEnum.DEVICE_CONNECTING && | ||
(await this.ping())) { | ||
log(`IHTTPConnection.connect`, `Ping succeeded, starting configuration and request timer.`, LogRecord_Level.DEBUG); | ||
@@ -42,0 +43,0 @@ await this.configure(); |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.30", | ||
"version": "0.6.31", | ||
"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
368279
7080