Add sendHeartbeat doc-string

This commit is contained in:
Wolfgang Nagele authored and GitHub committed 2024-08-25 22:13:08 +02:00
1 parent b692ef4cfb
commit d77335caa7
1 file changed
+1
+1
View File
@@ -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)