Example for connecting to Cayenne using the WIZnet_Library library.

Dependencies:   Cayenne-MQTT-mbed WIZnet_Library mbed

Dependents:   STM32F103C8T6-Cayenne-WIZnet_SD1306_BMP280

Files at this revision

API Documentation at this revision

Comitter:
jburhenn
Date:
Wed Oct 26 23:11:17 2016 +0000
Parent:
2:472a2fd3359a
Child:
4:58789e0a7b70
Commit message:
Updated credential order to match dashboard.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 26 23:10:14 2016 +0000
+++ b/main.cpp	Wed Oct 26 23:11:17 2016 +0000
@@ -13,8 +13,8 @@
 	
 // Cayenne authentication info. This should be obtained from the Cayenne Dashboard.
 char* username = "MQTT_USERNAME";
+char* password = "MQTT_PASSWORD";
 char* clientID = "CLIENT_ID";
-char* password = "MQTT_PASSWORD";
 
 SPI spi(D11, D12, D13);
 WIZnetInterface interface(&spi, D10, D5); // SPI, SEL, Reset