Bmag incl gps rettelse

Dependencies:   mbed WDT MODSERIAL BME280

Revision:
6:6d1683c8b26b
Parent:
5:11782a2008c2
Child:
7:872984a67d5b
diff -r 11782a2008c2 -r 6d1683c8b26b SPS/SPS.h
--- a/SPS/SPS.h	Thu Mar 09 12:03:55 2017 +0000
+++ b/SPS/SPS.h	Thu Mar 09 15:26:22 2017 +0000
@@ -15,7 +15,6 @@
     //default constructor
     SPS();    
     
-    
     //Updates current string     
     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 source_firmware_version, string interpreter_firmware_version, string latitude, string longitude, bool gpsFixFlag, string mag_time, string mag_nt, string mag_sq, Serial * dbg);
     
@@ -41,9 +40,17 @@
     //add data to current string
     void addToCurrentString(string data);
     void addToCurrentString(char data);
+    
+    //generate sps filename
+    void generateSpsFilename(string formattedDate);
+    
+    //get sps filename
+    string getSpsFileName(void);
             
-private:    
+private:  
+    string fileNameString;  
     string currentString;
+    string lastString;
     string currentErrString;
     string headerString;
     bool errStatus;