mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
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:
parent
4ed2d1a35e
commit
9cb373751b
3 changed files with 12 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@ message NodeInfoLite {
|
|||
/*
|
||||
* Bitfield for storing booleans.
|
||||
* LSB 0 is_key_manually_verified
|
||||
* LSB 1 is_muted
|
||||
*/
|
||||
uint32 bitfield = 13;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue