ThingPlug Ex
Dependencies: DHT11 NetworkSocketAPI WizFi310Interface mbed
Fork of WizFi310_ThingPlug_Test by
Revision 6:ece3b06b9aba, committed 2017-09-29
- Comitter:
- cliff1
- Date:
- Fri Sep 29 00:22:50 2017 +0000
- Parent:
- 5:abbccd77ad5d
- Child:
- 7:8ad9f9bd39b3
- Commit message:
- 20170928
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 28 23:28:48 2017 +0000
+++ b/main.cpp Fri Sep 29 00:22:50 2017 +0000
@@ -22,19 +22,19 @@
#include "WizFi310Interface.h"
#include "Dht11.h"
-#define AP_SSID "Dap"
-#define AP_PASSWORD "00001111"
-#define AP_SECURITY NSAPI_SECURITY_WPA2
+#define AP_SSID "SSID"
+#define AP_PASSWORD "PASSWORD"
+#define AP_SECURITY NSAPI_SECURITY_WPA2
-#define USER_ID "cliff13"
-#define CREDENTIAL_ID "R0NNaXc1TGZmV2JVb0JzZEp3QnorSDZrYXZWanFod3hlZ0VkMEFycktRN0Z4SFpCb1JSUmdnMENUL0h4K3VZVg=="
-#define SERVICE_ID "cliff_service"
-#define DEVICE_ID "WIZnet_Device_01"
-#define COMMAND_NM "WIZnet_Device_01"
-#define CONTAINER_NAME "WIZnet"
+#define USER_ID "USER ID"
+#define CREDENTIAL_ID "Credential ID"
+#define SERVICE_ID "Service ID"
+#define DEVICE_ID "Device ID"
+#define COMMAND_NM "Command Name"
+#define CONTAINER_NAME "Container Name"
-#define CDS_SENSOR PC_15
-#define DHT_SENSOR PC_7
+#define CDS_SENSOR CDS_Sensor
+#define DHT_SENSOR DHT_Sensor
#if defined(TARGET_WIZwiki_W7500)
Serial pc(USBTX, USBRX);
