Merge pull request #465 from meshtastic/wire-heartbeat

Heartbeat needs to be on ToRadio to actually work
pull/466/head
Ben Meadors 2024-03-15 08:07:02 -05:00 zatwierdzone przez GitHub
commit cf25b390d6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 14 dodań i 9 usunięć

Wyświetl plik

@ -40,11 +40,3 @@ message DeviceProfile {
*/
optional LocalModuleConfig module_config = 5;
}
/*
* A heartbeat message is sent by a node to indicate that it is still alive.
* This is currently only needed to keep serial connections alive.
*/
message Heartbeat {
}

Wyświetl plik

@ -1440,6 +1440,11 @@ message ToRadio {
* MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
*/
MqttClientProxyMessage mqttClientProxyMessage = 6;
/*
* Heartbeat message (used to keep the device connection awake on serial)
*/
Heartbeat hearbeat = 7;
}
}
@ -1562,3 +1567,11 @@ message DeviceMetadata {
*/
bool hasRemoteHardware = 10;
}
/*
* A heartbeat message is sent to the node from the client to keep the connection alive.
* This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI.
*/
message Heartbeat {
}