nothing modified
Dependencies: mbed-src WizFi310Interface_Legacy_ DHT MQTT
Diff: main.cpp
- Revision:
- 14:2b30a541da82
- Parent:
- 13:36456500fb7e
- Child:
- 15:d4604c47da41
--- a/main.cpp Sun Sep 20 05:17:13 2015 +0000 +++ b/main.cpp Sun Sep 20 06:11:10 2015 +0000 @@ -44,7 +44,7 @@ MQTTPacket_connectData data = MQTTPacket_connectData_initializer; data.MQTTVersion = 3; - data.clientID.cstring = "WIZwiki-W7500a"; + sprintf(data.clientID.cstring,"WIZwiki-W7500-client-%d",rand()%1000); data.username.cstring = "testuser"; data.password.cstring = "testpassword";