Skip to content

Commit c7ee644

Browse files
authored
update hopLimit docs to be in correct sections/include types
1 parent 9af5f22 commit c7ee644

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

meshtastic/mesh_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def sendText(
433433
portNum -- the application portnum (similar to IP port numbers)
434434
of the destination, see portnums.proto for a list
435435
replyId -- the ID of the message that this packet is a response to
436-
hopLimit -- hop limit to use
436+
hopLimit {int} -- hop limit to use
437437
438438
Returns the sent packet. The id field will be populated in this packet
439439
and can be used to track future message acks/naks.
@@ -466,11 +466,11 @@ def sendAlert(
466466
467467
Arguments:
468468
text {string} -- The text of the alert to send
469-
hopLimit -- hop limit to use
470469
471470
Keyword Arguments:
472471
destinationId {nodeId or nodeNum} -- where to send this
473472
message (default: {BROADCAST_ADDR})
473+
hopLimit {int} -- hop limit to use
474474
475475
Returns the sent packet. The id field will be populated in this packet
476476
and can be used to track future message acks/naks.

0 commit comments

Comments
 (0)