We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5efa94 commit 63b940dCopy full SHA for 63b940d
1 file changed
meshtastic/mesh_interface.py
@@ -730,7 +730,8 @@ def sendTelemetry(
730
destinationId: Union[int, str] = BROADCAST_ADDR,
731
wantResponse: bool = False,
732
channelIndex: int = 0,
733
- telemetryType: str = "device_metrics"
+ telemetryType: str = "device_metrics",
734
+ hopLimit: Optional[int]=None
735
):
736
"""Send telemetry and optionally ask for a response"""
737
r = telemetry_pb2.Telemetry()
@@ -777,6 +778,7 @@ def sendTelemetry(
777
778
wantResponse=wantResponse,
779
onResponse=onResponse,
780
channelIndex=channelIndex,
781
+ hopLimit=hopLimit,
782
)
783
if wantResponse:
784
self.waitForTelemetry()
0 commit comments