mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 06:46:10 +02:00
Merge branch 'development03' into eth
update to latest release 0.7.26
This commit is contained in:
commit
502cf81774
13 changed files with 49 additions and 170 deletions
|
@ -393,6 +393,7 @@ class RestApi {
|
|||
|
||||
void getMqtt(JsonObject obj) {
|
||||
obj[F("broker")] = String(mConfig->mqtt.broker);
|
||||
obj[F("clientId")] = String(mConfig->mqtt.clientId);
|
||||
obj[F("port")] = String(mConfig->mqtt.port);
|
||||
obj[F("user")] = String(mConfig->mqtt.user);
|
||||
obj[F("pwd")] = (strlen(mConfig->mqtt.pwd) > 0) ? F("{PWD}") : String("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue