Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

Revision:
24:92c30dabfda4
Parent:
21:8524d815c587
Child:
27:a1c37c596bfc
diff -r d7df2e2d28de -r 92c30dabfda4 Service.hpp
--- a/Service.hpp	Tue Sep 11 21:11:35 2018 +0000
+++ b/Service.hpp	Tue Sep 11 21:45:52 2018 +0000
@@ -98,6 +98,9 @@
               UP_MODE up_mode,
               ACCESS_PIN access_pins[6],
               uint32_t subsample_rate,
+              Value& delta_threshold,
+              Value& low_threshold_limit,
+              Value& high_threshold_limit,
               ACTION action,
               OUTPUT_MODE output_mode,
               std::string comment);
@@ -208,16 +211,16 @@
   }
 
   // Returns a string representing a value. Used to build messages and to debug.
-  // std::string getValueAsString(Value& value);
+  // std::string toString(Value& value);
 
   // Returns a string representing the current value.
   std::string getCurrentValueAsString() {
-    return this->current_value.getValueAsString();
+    return this->current_value.toString();
   }
 
   // Returns a string representing the previous value.
   std::string getPreviousValueAsString() {
-    return this->previous_value.getValueAsString();
+    return this->previous_value.toString();
   }
 
   // Set the delta threshold