Skip to content

Commit

Permalink
adds ModuleSettings and position_precision to ChannelSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett committed Feb 21, 2024
1 parent 5f28be4 commit 66e138c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion meshtastic/channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -132,4 +142,9 @@ message Channel {
* TODO: REPLACE
*/
Role role = 3;
}

/*
* Per-channel module settings.
*/
ModuleSettings module_settings = 4;
}

0 comments on commit 66e138c

Please sign in to comment.