add proto for RemoteHardware. This can be extended later, enables for now.

pull/265/head
Thomas Göttgens 2022-12-28 23:27:51 +01:00 zatwierdzone przez Sacha Weatherstone
rodzic a0cd3822b7
commit a33ca9615e
3 zmienionych plików z 26 dodań i 0 usunięć

Wyświetl plik

@ -105,6 +105,11 @@ message AdminMessage {
* TODO: REPLACE
*/
AUDIO_CONFIG = 7;
/*
* TODO: REPLACE
*/
REMOTEHARDWARE_CONFIG = 7;
}
/*

Wyświetl plik

@ -100,6 +100,11 @@ message LocalModuleConfig {
*/
ModuleConfig.AudioConfig audio = 9;
/*
* The part of the config that is specific to the GPS module
*/
ModuleConfig.RemoteHardwareConfig remote_hardware = 10;
/*
* A version integer used to invalidate old save files when we make
* incompatible changes This integer is set at build time and is private to

Wyświetl plik

@ -56,6 +56,17 @@ message ModuleConfig {
bool json_enabled = 6;
}
/*
* RemoteHardwareModule Config
*/
message RemoteHardwareConfig {
/*
* Whether the Module is enabled
*/
bool enabled = 1;
}
/*
* Audio Config for codec2 voice
*/
@ -516,5 +527,10 @@ message ModuleConfig {
*/
AudioConfig audio = 8;
/*
* TODO: REPLACE
*/
RemoteHardwareConfig remote_hardware = 9;
}
}