@meshtastic/meshtasticjs
Advanced tools
Comparing version 2.2.0-2 to 2.2.1-0
@@ -8,15 +8,14 @@ /// <reference types="web-bluetooth" /> | ||
connType: Types.ConnectionTypeName; | ||
portId: string; | ||
/** Currently connected BLE device */ | ||
device: BluetoothDevice | undefined; | ||
GATTServer: BluetoothRemoteGATTServer | undefined; | ||
private GATTServer; | ||
/** Short Description */ | ||
service: BluetoothRemoteGATTService | undefined; | ||
private service; | ||
/** Short Description */ | ||
toRadioCharacteristic: BluetoothRemoteGATTCharacteristic | undefined; | ||
private toRadioCharacteristic; | ||
/** Short Description */ | ||
fromRadioCharacteristic: BluetoothRemoteGATTCharacteristic | undefined; | ||
private fromRadioCharacteristic; | ||
/** Short Description */ | ||
fromNumCharacteristic: BluetoothRemoteGATTCharacteristic | undefined; | ||
/** States if the device was force disconnected by a user */ | ||
userInitiatedDisconnect: boolean; | ||
private fromNumCharacteristic; | ||
constructor(configId?: number); | ||
@@ -23,0 +22,0 @@ /** |
@@ -9,2 +9,3 @@ import { fromNumUUID, fromRadioUUID, serviceUUID, toRadioUUID, } from "../constants.js"; | ||
connType; | ||
portId; | ||
/** Currently connected BLE device */ | ||
@@ -21,4 +22,2 @@ device; | ||
fromNumCharacteristic; | ||
/** States if the device was force disconnected by a user */ | ||
userInitiatedDisconnect; | ||
constructor(configId) { | ||
@@ -28,2 +27,3 @@ super(configId); | ||
this.connType = "ble"; | ||
this.portId = ""; | ||
this.device = undefined; | ||
@@ -35,3 +35,2 @@ this.service = undefined; | ||
this.fromNumCharacteristic = undefined; | ||
this.userInitiatedDisconnect = false; | ||
// this.pendingRead = false; | ||
@@ -72,2 +71,3 @@ this.log.debug(Types.Emitter[Types.Emitter.constructor], "🔷 iBleConnection instantiated"); | ||
this.device = device ?? (await this.getDevice(deviceFilter)); | ||
this.portId = this.device.id; | ||
/** Setup event listners */ | ||
@@ -129,3 +129,2 @@ this.device.addEventListener("gattserverdisconnected", () => { | ||
disconnect() { | ||
this.userInitiatedDisconnect = true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ected portId: string; | ||
/** Enables receiving messages all at once, versus one per request */ | ||
receiveBatchRequests: boolean; | ||
readLoop: ReturnType<typeof setInterval> | null; | ||
peningRequest: boolean; | ||
abortController: AbortController; | ||
private receiveBatchRequests; | ||
private readLoop; | ||
private peningRequest; | ||
private abortController; | ||
constructor(configId?: number); | ||
@@ -16,0 +16,0 @@ /** |
@@ -9,3 +9,3 @@ import { IMeshDevice } from "../iMeshDevice.js"; | ||
/** URL of the device that is to be connected to. */ | ||
url; | ||
portId; | ||
/** Enables receiving messages all at once, versus one per request */ | ||
@@ -20,3 +20,3 @@ receiveBatchRequests; | ||
this.connType = "http"; | ||
this.url = "http://meshtastic.local"; | ||
this.portId = ""; | ||
this.receiveBatchRequests = false; | ||
@@ -34,3 +34,3 @@ this.readLoop = null; | ||
this.receiveBatchRequests = receiveBatchRequests; | ||
this.url = `${tls ? "https://" : "http://"}${address}`; | ||
this.portId = `${tls ? "https://" : "http://"}${address}`; | ||
if (this.deviceStatus === Types.DeviceStatusEnum.DEVICE_CONNECTING && | ||
@@ -75,3 +75,6 @@ (await this.ping())) { | ||
let pingSuccessful = false; | ||
await fetch(`${this.url}/hotspot-detect.html`, { signal, mode: "no-cors" }) | ||
await fetch(`${this.portId}/hotspot-detect.html`, { | ||
signal, | ||
mode: "no-cors", | ||
}) | ||
.then(() => { | ||
@@ -97,3 +100,3 @@ pingSuccessful = true; | ||
this.peningRequest = true; | ||
await fetch(`${this.url}/api/v1/fromradio?all=${this.receiveBatchRequests ? "true" : "false"}`, { | ||
await fetch(`${this.portId}/api/v1/fromradio?all=${this.receiveBatchRequests ? "true" : "false"}`, { | ||
signal, | ||
@@ -125,3 +128,3 @@ method: "GET", | ||
const { signal } = this.abortController; | ||
await fetch(`${this.url}/api/v1/toradio`, { | ||
await fetch(`${this.portId}/api/v1/toradio`, { | ||
signal, | ||
@@ -146,2 +149,2 @@ method: "PUT", | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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ztRQUN0RSxDQUFDLENBQUMsQ0FBQztJQUNQLENBQUM7Q0FDRiJ9 |
@@ -8,4 +8,5 @@ /// <reference types="w3c-web-serial" /> | ||
connType: Types.ConnectionTypeName; | ||
protected portId: string; | ||
/** Serial port used to communicate with device. */ | ||
private port; | ||
port: SerialPort | undefined; | ||
private readerHack; | ||
@@ -12,0 +13,0 @@ /** Transform stream for parsing raw serial data */ |
@@ -9,2 +9,3 @@ import { SubEvent } from "sub-events"; | ||
connType; | ||
portId; | ||
/** Serial port used to communicate with device. */ | ||
@@ -31,2 +32,3 @@ port; | ||
this.connType = "serial"; | ||
this.portId = ""; | ||
this.port = undefined; | ||
@@ -83,2 +85,3 @@ this.transformer = undefined; | ||
this.port = port ?? (await this.getPort()); | ||
// this.portId = this.port. TODO: add once WebSerial adds unique/port identifiers | ||
/** Setup event listners */ | ||
@@ -156,2 +159,2 @@ this.port.addEventListener("disconnect", () => { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaVNlcmlhbENvbm5lY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYWRhcHRlcnMvaVNlcmlhbENvbm5lY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUV0QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDaEQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVoRSw4REFBOEQ7QUFDOUQsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFdBQVc7SUFDaEQsNENBQTRDO0lBQzVDLFFBQVEsQ0FBMkI7SUFFbkMsbURBQW1EO0lBQzNDLEl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Q0FBQztJQUVELCtDQUErQztJQUN4QyxLQUFLLENBQUMsSUFBSTtRQUNmLE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMvQixDQUFDO0lBRUQ7O09BRUc7SUFDTyxLQUFLLENBQUMsWUFBWSxDQUFDLElBQWdCO1FBQzNDLE9BQU8sSUFBSSxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFO1lBQ2xDLE1BQU0sSUFBSSxPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsRUFBRSxDQUFDLFVBQVUsQ0FBQyxPQUFPLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztTQUMxRDtRQUNELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxJQUFJLEVBQUUsUUFBUSxFQUFFLFNBQVMsRUFBRSxDQUFDO1FBRWhELE1BQU0sTUFBTSxFQUFFLEtBQUssQ0FDakIsSUFBSSxVQUFVLENBQUMsQ0FBQyxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsSUFBSSxDQUFDLENBQUMsQ0FDekQsQ0FBQztRQUNGLE1BQU0sRUFBRSxXQUFXLEVBQUUsQ0FBQztJQUN4QixDQUFDO0NBQ0YifQ== |
@@ -10,2 +10,3 @@ import { Logger } from "tslog"; | ||
protected abstract connType: Types.ConnectionTypeName; | ||
protected abstract portId: string; | ||
/** Logs to the console and the logging event emitter */ | ||
@@ -12,0 +13,0 @@ protected log: Logger<unknown>; |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "2.2.0-2", | ||
"version": "2.2.1-0", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0-only", | ||
"dependencies": { | ||
"@buf/meshtastic_protobufs.bufbuild_es": "1.3.0-20230807174505-db3cb0c7cf53.1", | ||
"@buf/meshtastic_protobufs.bufbuild_es": "1.3.0-20230812103233-732b987c2c85.1", | ||
"@bufbuild/protobuf": "^1.3.0", | ||
@@ -49,3 +49,3 @@ "crc": "^4.3.2", | ||
"devDependencies": { | ||
"@types/node": "^20.4.9", | ||
"@types/node": "^20.4.10", | ||
"@types/w3c-web-serial": "^1.0.3", | ||
@@ -52,0 +52,0 @@ "@types/web-bluetooth": "^0.0.17", |
Sorry, the diff of this file is too big to display
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
2506
212339