Skip to content

Commit 9c2313e

Browse files
committed
fix MQTT bug
1 parent fc1e056 commit 9c2313e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/BlinkerMQTT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void BlinkerMQTT::connectServer() {
258258
String _userID = STRING_find_string(payload, "deviceName", "\"", 4);
259259
String _userName = STRING_find_string(payload, "iotId", "\"", 4);
260260
String _key = STRING_find_string(payload, "iotToken", "\"", 4);
261-
String _productInfo = STRING_find_string(payload, "ProductKey", "\"", 4);
261+
String _productInfo = STRING_find_string(payload, "productKey", "\"", 4);
262262
String _broker = STRING_find_string(payload, "broker", "\"", 4);
263263
String _uuid = STRING_find_string(payload, "uuid", "\"", 4);
264264

0 commit comments

Comments
 (0)