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:
Fri Mar 23 07:50:54 2018 +0000
Parent:
52:5546fa1b67b5
Child:
54:d8dda8394353
Commit message:
minor bugs fixed

Changed in this revision

Application/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Application/main.cpp	Thu Mar 22 04:14:57 2018 +0000
+++ b/Application/main.cpp	Fri Mar 23 07:50:54 2018 +0000
@@ -320,6 +320,7 @@
 			    	}					
 				}        
 		    	/* allow the MQTT client to receive subscribe messages and manage keep alive */
+		    	wd.Service();
 		    	client.yield(500);                                                        
 			} 
 			else if (connected == false) {