Add response callback for OTA configuration and update handling; adjust hardware configurations

This commit is contained in:
2025-10-05 20:22:53 +02:00
parent 46cb1a3a20
commit 2171349b7c
4 changed files with 59 additions and 25 deletions
+4
View File
@@ -82,6 +82,9 @@ message SensorOTAEnable {
string gateway = 8;
}
message SensorRestart {
}
message SensorOTAEnableResponse {
bool success = 1;
string ip_address = 2;
@@ -94,6 +97,7 @@ message ControlToSensorMessage {
oneof payload {
LedConfig led_config = 2;
SensorOTAEnable ota_enable = 3;
SensorRestart restart = 4;
// Add other control message types as needed
}
}