Wifi
Dependencies: Cayenne-MQTT-mbed NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of Cayenne-X-NUCLEO-IDW01M1 by
Revision 8:3bcc1a412fe3, committed 2017-10-30
- Comitter:
- Jeffdhyan
- Date:
- Mon Oct 30 07:19:47 2017 +0000
- Parent:
- 7:78cefe0937ab
- Commit message:
- Wifi
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 78cefe0937ab -r 3bcc1a412fe3 main.cpp --- a/main.cpp Fri Nov 11 18:29:29 2016 +0000 +++ b/main.cpp Mon Oct 30 07:19:47 2017 +0000 @@ -9,13 +9,13 @@ #include "SpwfInterface.h" // WiFi network info. -char* ssid = "ssid"; -char* wifiPassword = "wifiPassword"; +char* ssid = "JeffiPhone7"; +char* wifiPassword = "iots2480"; // Cayenne authentication info. This should be obtained from the Cayenne Dashboard. -char* username = "MQTT_USERNAME"; -char* password = "MQTT_PASSWORD"; -char* clientID = "CLIENT_ID"; +char* username = "1f764db0-122b-11e7-b235-9359079e690e"; +char* password = "0d4e9d94e7897df9af861007853ed3f906b0627d"; +char* clientID = "536277d0-8cb9-11e7-9727-55550d1a07e7"; SpwfSAInterface interface(D8, D2); // TX, RX MQTTNetwork<SpwfSAInterface> network(interface);