Mute: Nodes (#838)

* Add tags for toggling mute state

* Adds mute flag to protobuf for use in clients

* Adds mute flag to lite (device only) protobuf

* Prefer bitmask usage over new boolean

* Remove trailing newline in mesh.proto

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
This commit is contained in:
Ford Jones 2026-01-09 17:26:36 +00:00 committed by GitHub
parent 4ed2d1a35e
commit 9cb373751b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View file

@ -432,6 +432,11 @@ message AdminMessage {
*/
uint32 remove_ignored_node = 48;
/*
* Set specified node-num to be muted
*/
uint32 toggle_muted_node = 49;
/*
* Begins an edit transaction for config, module config, owner, and channel settings changes
* This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)

View file

@ -168,6 +168,7 @@ message NodeInfoLite {
/*
* Bitfield for storing booleans.
* LSB 0 is_key_manually_verified
* LSB 1 is_muted
*/
uint32 bitfield = 13;
}

View file

@ -1764,6 +1764,12 @@ message NodeInfo {
* LSB 0 of the bitfield
*/
bool is_key_manually_verified = 12;
/*
* True if node has been muted
* Persistes between NodeDB internal clean ups
*/
bool is_muted = 13;
}
/*