kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #61 from joshpirihi/master
Add mqtt username and password to user preferencespull/63/head
commit
638783bad4
|
@ -5,4 +5,7 @@
|
||||||
# Max of three ignored nodes for our testing
|
# Max of three ignored nodes for our testing
|
||||||
*UserPreferences.ignore_incoming max_count:3
|
*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
|
||||||
|
|
||||||
|
|
|
@ -581,6 +581,21 @@ message RadioConfig {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
uint32 hop_limit = 154;
|
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;
|
UserPreferences preferences = 1;
|
||||||
|
|
Ładowanie…
Reference in New Issue