Merge pull request #61 from joshpirihi/master

Add mqtt username and password to user preferences
pull/63/head
Sacha Weatherstone 2021-12-29 10:16:14 +10:30 zatwierdzone przez GitHub
commit 638783bad4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 19 dodań i 1 usunięć

Wyświetl plik

@ -5,4 +5,7 @@
# Max of three ignored nodes for our testing
*UserPreferences.ignore_incoming max_count:3
*UserPreferences.mqtt_server max_size:32
*UserPreferences.mqtt_server max_size:32
*UserPreferences.mqtt_username max_size:32
*UserPreferences.mqtt_password max_size:32

Wyświetl plik

@ -581,6 +581,21 @@ message RadioConfig {
*
*/
uint32 hop_limit = 154;
/*
* MQTT username to use (most useful for a custom MQTT server).
* If using a custom server, this will be honoured even if empty.
* If using the default server, this will only be honoured if set, otherwise the device will use the default username
*/
string mqtt_username = 155;
/*
* MQTT password to use (most useful for a custom MQTT server).
* If using a custom server, this will be honoured even if empty.
* If using the default server, this will only be honoured if set, otherwise the device will use the default password
*/
string mqtt_password = 156;
}
UserPreferences preferences = 1;