@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.83 to 0.6.84
@@ -98,2 +98,5 @@ import { Types } from "./index.js"; | ||
} | ||
this.device.addEventListener("gattserverdisconnected", () => { | ||
this.updateDeviceStatus(Types.DeviceStatusEnum.DEVICE_DISCONNECTED); | ||
}); | ||
await this.device.gatt?.connect(); | ||
@@ -110,12 +113,2 @@ this.service = await this.device.gatt?.getPrimaryService(SERVICE_UUID); | ||
await this.configure(); | ||
// this.device.addEventListener("gattserverdisconnected", () => { | ||
// this.updateDeviceStatus(Types.DeviceStatusEnum.DEVICE_DISCONNECTED); | ||
// if (!this.userInitiatedDisconnect) { | ||
// if ( | ||
// this.deviceStatus !== Types.DeviceStatusEnum.DEVICE_RECONNECTING | ||
// ) { | ||
// this.updateDeviceStatus(Types.DeviceStatusEnum.DEVICE_RECONNECTING); | ||
// } | ||
// } | ||
// }); | ||
} | ||
@@ -122,0 +115,0 @@ /** |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.83", | ||
"version": "0.6.84", | ||
"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
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
510957
10493