Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement more flexible triggering in DetectionSensor #582

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
augustozanellato marked this conversation as resolved.
Show resolved Hide resolved

/*
Expand Down