Skip to content

Commit e5efa94

Browse files
committed
mesh_interface: sendPosition: add hopLimit
1 parent efa841b commit e5efa94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

meshtastic/mesh_interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def sendPosition(
587587
wantAck: bool = False,
588588
wantResponse: bool = False,
589589
channelIndex: int = 0,
590+
hopLimit: Optional[int]=None,
590591
):
591592
"""
592593
Send a position packet to some other node (normally a broadcast)
@@ -623,6 +624,7 @@ def sendPosition(
623624
wantResponse=wantResponse,
624625
onResponse=onResponse,
625626
channelIndex=channelIndex,
627+
hopLimit=hopLimit,
626628
)
627629
if wantResponse:
628630
self.waitForPosition()

0 commit comments

Comments
 (0)