From 66e138c07248381c1a85e68e1d2bf1eeb546ad9e Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Wed, 21 Feb 2024 15:13:54 -0600 Subject: [PATCH] adds ModuleSettings and position_precision to ChannelSettings --- meshtastic/channel.proto | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/meshtastic/channel.proto b/meshtastic/channel.proto index 7d2361a..8c5bbdf 100644 --- a/meshtastic/channel.proto +++ b/meshtastic/channel.proto @@ -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; -} \ No newline at end of file + + /* + * Per-channel module settings. + */ + ModuleSettings module_settings = 4; +}