Skip to content

Commit

Permalink
mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Dec 17, 2019
1 parent 0845a61 commit 5c17da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eez/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void tick(uint32_t tickCount) {
#if defined(EEZ_PLATFORM_STM32)
else if (g_connectionState == CONNECTION_STATE_DNS_FOUND) {
mqtt_connect_client_info_t clientInfo;
clientInfo.client_id = CLIENT_ID;
clientInfo.client_id = getClient();
clientInfo.client_user = persist_conf::devConf.mqttUsername;
clientInfo.client_pass = persist_conf::devConf.mqttPassword;
clientInfo.keep_alive = 60; // seconds
Expand Down

0 comments on commit 5c17da9

Please sign in to comment.