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

This commit is contained in:
Thomas Göttgens 2022-12-28 23:27:51 +01:00
parent 79e213fbcc
commit 5425767b0d
3 changed files with 26 additions and 0 deletions

View file

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

View file

@ -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

View file

@ -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;
}
}