adds ModuleSettings and position_precision to ChannelSettings

This commit is contained in:
Jonathan Bennett 2024-02-21 15:13:54 -06:00
parent 5f28be497a
commit 66e138c072

View file

@ -83,6 +83,16 @@ message ChannelSettings {
bool downlink_enabled = 6;
}
/*
* This message is specifically for modules to store per-channel configuration data.
*/
message ModuleSettings {
/*
* Bits of precision for the location sent in position packets.
*/
uint32 position_precision = 1;
}
/*
* A pair of a channel number, mode and the (sharable) settings for that channel
*/
@ -132,4 +142,9 @@ message Channel {
* TODO: REPLACE
*/
Role role = 3;
}
/*
* Per-channel module settings.
*/
ModuleSettings module_settings = 4;
}