mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
remove the message from the sendping option
This commit is contained in:
1 parent
a35f3a4e7b
commit
d82f197c06
1 file changed
+1
-1
@@ -247,8 +247,8 @@ def onConnected(interface):
|
||||
interface.sendText(args.sendtext, args.destOrAll, wantAck=True, channelIndex=channelIndex)
|
||||
|
||||
if args.sendping:
|
||||
print(f"Sending ping message {args.sendping} to {args.destOrAll}")
|
||||
payload = str.encode("test string")
|
||||
print(f"Sending ping message to {args.destOrAll}")
|
||||
interface.sendData(payload, args.destOrAll, portNum=portnums_pb2.PortNum.REPLY_APP,
|
||||
wantAck=True, wantResponse=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user