File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,6 +415,7 @@ def sendText(
415415 channelIndex : int = 0 ,
416416 portNum : portnums_pb2 .PortNum .ValueType = portnums_pb2 .PortNum .TEXT_MESSAGE_APP ,
417417 replyId : Optional [int ]= None ,
418+ hopLimit : Optional [int ]= None ,
418419 ):
419420 """Send a utf8 string to some other node, if the node has a display it
420421 will also be shown on the device.
@@ -432,6 +433,7 @@ def sendText(
432433 portNum -- the application portnum (similar to IP port numbers)
433434 of the destination, see portnums.proto for a list
434435 replyId -- the ID of the message that this packet is a response to
436+ hopLimit -- hop limit to use
435437
436438 Returns the sent packet. The id field will be populated in this packet
437439 and can be used to track future message acks/naks.
@@ -445,7 +447,8 @@ def sendText(
445447 wantResponse = wantResponse ,
446448 onResponse = onResponse ,
447449 channelIndex = channelIndex ,
448- replyId = replyId
450+ replyId = replyId ,
451+ hopLimit = hopLimit
449452 )
450453
451454
You can’t perform that action at this time.
0 commit comments