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
Changes from all 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
13 changes: 13 additions & 0 deletions meshtastic/module_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,19 @@ message ModuleConfig {
* Only applicable if the board uses pull-up resistors on the pin
*/
bool use_pullup = 8;

/*
* If this is set true, messages are send as a direct message to the NodeNum set in "send_to".
* If set to false, messages are broadcasted to a channel with the index set in "send_to".
*/
bool send_as_dm = 9;

/*
* Send module messages to Channel Index/NodeNum.
* Example: A number set as "1" would result in a message send to channel index "1" if send_as_dm is set false
* Example: A number of "0x11111111" would result in a message send to NodeNum "0x11111111" if send_as_dm is set true
*/
uint32 send_to = 10;
}

/*
Expand Down
Loading