Skip to content

Commit f5f209d

Browse files
committed
Add nonce to heartbeat
1 parent 1ecf94d commit f5f209d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

meshtastic/mesh.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,12 @@ enum ExcludedModules {
22512251
* A heartbeat message is sent to the node from the client to keep the connection alive.
22522252
* This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI.
22532253
*/
2254-
message Heartbeat {}
2254+
message Heartbeat {
2255+
/*
2256+
* The nonce of the heartbeat message
2257+
*/
2258+
uint32 nonce = 1;
2259+
}
22552260

22562261
/*
22572262
* RemoteHardwarePins associated with a node

0 commit comments

Comments
 (0)