Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code
Revision 52:5546fa1b67b5, committed 2018-03-22
- Comitter:
- DuyLionTran
- Date:
- Thu Mar 22 04:14:57 2018 +0000
- Parent:
- 51:da1f795fc7bf
- Child:
- 53:64982aa7d08b
- Commit message:
- * version 2.9 03-22-2018: Watchdog worked. Some hardware bugs found
Changed in this revision
| Simple-MQTT/SimpleMQTT.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Simple-MQTT/SimpleMQTT.h Thu Mar 22 04:11:22 2018 +0000
+++ b/Simple-MQTT/SimpleMQTT.h Thu Mar 22 04:14:57 2018 +0000
@@ -280,7 +280,7 @@
DataStruct.CONFIG_Mode = mode;
DataStruct.CONFIG_OxyThreshold = OxiThres;
DataStruct.CONFIG_TemperatureThreshold = TempThres;
- DataStruct.CONFIG_UploadInterval = uploadInterval;
+ DataStruct.CONFIG_UploadInterval = uploadInterval * 60;
FP_WriteConfigValues(DataStruct.CONFIG_Mode, DataStruct.CONFIG_OxyThreshold, DataStruct.CONFIG_TemperatureThreshold, DataStruct.CONFIG_UploadInterval);
CE_SetRTCTime(setRTCTime);
break;