Skip to content

Commit

Permalink
Add DetectionSensorConfig.broadcast_all_state_transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
augustozanellato committed Sep 19, 2024
1 parent 5709c0a commit c4636e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meshtastic/module_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ message ModuleConfig {
* Only applicable if the board uses pull-up resistors on the pin
*/
bool use_pullup = 8;

/*
* Whether or not all the state transition should be broadcasted.
* Causes an additional message to be sent to mesh when detection state goes
* back to false.
*/
bool broadcast_all_state_transitions = 9;
}

/*
Expand Down

0 comments on commit c4636e0

Please sign in to comment.