Bmag incl gps rettelse

Dependencies:   mbed WDT MODSERIAL BME280

Revision:
2:39c4a85dc2a4
Parent:
0:b3313c5ffca3
Child:
4:c70ef089a3fd
diff -r b3313c5ffca3 -r 39c4a85dc2a4 SPS/SPS.h
--- a/SPS/SPS.h	Fri Feb 17 09:33:57 2017 +0000
+++ b/SPS/SPS.h	Thu Feb 23 13:01:35 2017 +0000
@@ -1,15 +1,23 @@
+#include <string>
+
 #define LINESTART '>'
 #define LINESTOP '<' 
 #define HEADEREND '|'
 #define SPACE ' '
 
+using std::string;
+
 class SPS{
 public:
     //default constructor
     SPS();    
-     
-
-private:
-    bool ERR;
+         
+    void UpdateCurrentString(string tag, string identifier_id, string group_id, string date, string time, string ZZZ,string s1, string source_id, string interpreter_id, string data_line_version, string encoding, string source_firmware_version, string interpreter_firmware_version, string latitude, string longitude, char gpsFixFlag, string mag_time, string mag_nt, string mag_sq);
+    
+    string checkSumCalc(void);    
+    
+    string currentString;
+    string currentErrString;
+    string headerString;    
                      
 };