mirror of
https://github.com/meshtastic/python.git
synced 2026-01-01 20:38:03 -05:00
remove the message from the sendping option
This commit is contained in:
@@ -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