@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.43 to 0.6.44
@@ -201,3 +201,3 @@ import { SubEvent } from "sub-events"; | ||
sendText(text, destinationNum, wantAck = false, channel = 0, callback) { | ||
this.log(Types.EmitterScope.iMeshDevice, Types.Emitter.sendText, `Sending message to ${destinationNum} with text ${text}`, LogRecord_Level.DEBUG); | ||
this.log(Types.EmitterScope.iMeshDevice, Types.Emitter.sendText, `Sending message to ${destinationNum ?? "broadcast"} on channel ${channel}`, LogRecord_Level.DEBUG); | ||
const enc = new TextEncoder(); | ||
@@ -217,3 +217,3 @@ return this.sendPacket(enc.encode(text), PortNum.TEXT_MESSAGE_APP, destinationNum, wantAck, channel, undefined, true, callback); | ||
async sendPacket(byteData, portNum, destinationNum, wantAck = false, channel = 0, wantResponse = false, echoResponse = false, callback, isTapback = false, replyId = 0) { | ||
this.log(Types.EmitterScope.iMeshDevice, Types.Emitter.sendPacket, `Sending ${Protobuf.PortNum[portNum]} to ${destinationNum}`, LogRecord_Level.TRACE); | ||
this.log(Types.EmitterScope.iMeshDevice, Types.Emitter.sendPacket, `Sending ${Protobuf.PortNum[portNum]} to ${destinationNum ?? "broadcast"}`, LogRecord_Level.TRACE); | ||
const meshPacket = MeshPacket.create({ | ||
@@ -220,0 +220,0 @@ payloadVariant: { |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.43", | ||
"version": "0.6.44", | ||
"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
446605