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: FileManager GPSGms6 SDFileSystem mbed
Fork of 2545_SD_Card by
FileManager.h
- Committer:
- Lucyjungz
- Date:
- 2016-05-06
- Revision:
- 2:c96b02fcb98e
- Child:
- 4:aa7ac2ac6913
File content as of revision 2:c96b02fcb98e:
#define GPS_TAG "<Gps>"
#define DATA_TAG "<Data>"
#define UPDATE_INTERVAL_TAG "<Update_Interval>"
#define SETUP_FILE_NAME "/sd/RMS_Tester.xml"
#define GPS_LOG_FILE_NAME "/sd/gps.csv"
#define MINIRMS_LOG_FILE_NAME "/sd/miniRMS.log"
#define XMLTEXT_SIZE 20
typedef enum {
STATE_FINDING, /** Finding */
STATE_FOUND_DATA, /** Found Data tag */
STATE_FOUND_DATA_INTERVAL, /**< Found update internal of tag*/
STATE_FOUND_GPS, /** Found GPS tag */
STATE_FOUND_GPS_INTERVAL, /** Found update internal of GPS*/
}ReadingFileState;
void readSetupFile();
void delete_file(char filename[]);
int GPSInterval();
int DataInterval();
void logGPSData(char date[], char time[]);
void logSystemData(float gps_interval);
