diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 933d142f..c697342f 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -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; } /*