Skip to content

Commit

Permalink
MQTT: bugfix only first IP char is sent in aliveMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Jul 9, 2024
1 parent dfb5d54 commit 0da0118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MQTTtypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace fabomatic::MQTTInterface

ss << "{\"action\":\"alive\","
<< "\"version\":\"" << FABOMATIC_BUILD << "," << GIT_VERSION << "\","
<< "\"ip\":\"" << WiFi.localIP().toString() << "\","
<< "\"ip\":\"" << WiFi.localIP().toString().c_str() << "\","
<< "\"serial\":\"" << serial << "\","
<< "\"heap\":\"" << esp32::getFreeHeap() << "\""
<< "}";
Expand Down

0 comments on commit 0da0118

Please sign in to comment.