Duy tran / Mbed OS iot_water_monitor_v2

Dependencies:   easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code

Files at this revision

API Documentation at this revision

Comitter:
DuyLionTran
Date:
Sat Dec 02 04:59:59 2017 +0000
Parent:
9:268373df20d7
Child:
11:3802c82a5ae9
Commit message:
version 1.1.2

Changed in this revision

MQTT.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MQTT.lib	Fri Dec 01 14:51:46 2017 +0000
+++ b/MQTT.lib	Sat Dec 02 04:59:59 2017 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/DuyLionTran/code/MQTT_Test/#36e76acf2166
+https://os.mbed.com/users/DuyLionTran/code/MQTT_Test/#0934f0842804
--- a/main.cpp	Fri Dec 01 14:51:46 2017 +0000
+++ b/main.cpp	Sat Dec 02 04:59:59 2017 +0000
@@ -253,14 +253,12 @@
     MQTT_init();
     wait(0.5);
     MQTT_publishDeviceInfo();
-    
-    
+     
     setTimer();
     
     uploadPeriod    = 6;
     printf("Get into loop\r\n");
-    
-    
+      
     while(true) {   
         if ((uint32_t)(readTime.read() - lastRead) > uploadPeriod) {
             char payload[100];