From c4636e0232bf0fc214d6848d4eace9d3d4bbb985 Mon Sep 17 00:00:00 2001 From: Augusto Zanellato Date: Thu, 19 Sep 2024 21:48:47 +0200 Subject: [PATCH] Add DetectionSensorConfig.broadcast_all_state_transitions --- meshtastic/module_config.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 9945e1b9..23857003 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -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; } /*