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

(Detection Sensor Module) Send message to channel/node not public #615

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
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
1 change: 1 addition & 0 deletions meshtastic/module_config.options
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
*DetectionSensorConfig.monitor_pin int_size:8
*DetectionSensorConfig.name max_size:20
*DetectionSensorConfig.detection_trigger_type max_size:8
*DetectionSensorConfig.sendTo max_size:12
10 changes: 10 additions & 0 deletions meshtastic/module_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,16 @@ message ModuleConfig {
* Only applicable if the board uses pull-up resistors on the pin
*/
bool use_pullup = 8;

/* If this is set, message are send to channel set in "sendTo" else a "NodeID"*/
bool sendTochannel = 9;

/* Send module messages to Channel/Node.
* Example: A name "Detection" would result in a message send to channel "Detection" if sendToChannel **is** set
* Example: A name "01020304" would result in a message send to node "01020304" if sendToChannel is **not** set
* Maximum length of 12 characters
*/
string sendTo = 10;
}

/*
Expand Down