mesh_interface: sendPosition: add hopLimit

This commit is contained in:
Vasiliy Doylov
2025-09-23 16:28:56 +03:00
parent efa841b08c
commit e5efa94264

View File

@@ -587,6 +587,7 @@ class MeshInterface: # pylint: disable=R0902
wantAck: bool = False,
wantResponse: bool = False,
channelIndex: int = 0,
hopLimit: Optional[int]=None,
):
"""
Send a position packet to some other node (normally a broadcast)
@@ -623,6 +624,7 @@ class MeshInterface: # pylint: disable=R0902
wantResponse=wantResponse,
onResponse=onResponse,
channelIndex=channelIndex,
hopLimit=hopLimit,
)
if wantResponse:
self.waitForPosition()