Merge pull request #338 from meshtastic/issue-2380

support configurable topic root
pull/340/head
Ben Meadors 2023-04-07 07:13:30 -05:00 zatwierdzone przez GitHub
commit 5f00ad5691
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -3,6 +3,7 @@
*MQTTConfig.address max_size:64
*MQTTConfig.username max_size:64
*MQTTConfig.password max_size:64
*MQTTConfig.root max_size:16
*AudioConfig.ptt_pin int_size:8
*AudioConfig.i2s_ws int_size:8

Wyświetl plik

@ -61,6 +61,12 @@ message ModuleConfig {
* If true, we attempt to establish a secure connection using TLS
*/
bool tls_enabled = 7;
/*
* The root topic to use for MQTT messages. Default is "msh".
* This is useful if you want to use a single MQTT server for multiple meshtastic networks and separate them via ACLs
*/
string root = 8;
}
/*