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

Conversation

augustozanellato
Copy link
Contributor

@augustozanellato augustozanellato commented Sep 19, 2024

What does this PR do?

Add support for meshtastic/firmware#4753, see meshtastic/firmware#4776 for additional context

DetectionSensorConfig.detection_trigger_type supersedes detection_triggered_high keeping same tag because both bools and enums are internally represented as varints

Checklist before merging

  • All top level messages commented
  • All enum members have unique descriptions

meshtastic/module_config.proto Outdated Show resolved Hide resolved
@augustozanellato augustozanellato marked this pull request as draft September 19, 2024 21:36
Copy link
Member

@caveman99 caveman99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually you can't change protobufs, but this is fine as it has the same internal representation.

@caveman99 caveman99 marked this pull request as ready for review September 22, 2024 15:51
@augustozanellato augustozanellato changed the title Add DetectionSensorConfig.broadcast_all_state_transitions Implement more flexible triggering in DetectionSensor Sep 24, 2024
@thebentern thebentern merged commit 6ac9192 into meshtastic:master Sep 25, 2024
1 check passed
andrekir added a commit to meshtastic/Meshtastic-Android that referenced this pull request Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants