Heartbeat neads to be on ToRadio to actually work

pull/465/head
Ben Meadors 2024-03-15 07:53:58 -05:00
rodzic 7e3ee8cd96
commit bc2ceb23a5
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;
}
}
@ -1561,4 +1566,12 @@ message DeviceMetadata {
* Has Remote Hardware enabled
*/
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 {
}