mirror of
https://github.com/meshtastic/python.git
synced 2025-12-30 19:37:52 -05:00
Add sendHeartbeat doc-string
This commit is contained in:
@@ -813,6 +813,7 @@ class MeshInterface: # pylint: disable=R0902
|
||||
)
|
||||
|
||||
def sendHeartbeat(self):
|
||||
"""Sends a heartbeat to the radio. Can be used to verify the connection is healthy."""
|
||||
p = mesh_pb2.ToRadio()
|
||||
p.heartbeat.CopyFrom(mesh_pb2.Heartbeat())
|
||||
self._sendToRadio(p)
|
||||
|
||||
Reference in New Issue
Block a user