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@2:c96b02fcb98e, 2016-05-06 (annotated)
- Committer:
- Lucyjungz
- Date:
- Fri May 06 20:16:30 2016 +0000
- Revision:
- 2:c96b02fcb98e
- Child:
- 4:aa7ac2ac6913
Integrated with File Manager
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Lucyjungz | 2:c96b02fcb98e | 1 | #define GPS_TAG "<Gps>" |
| Lucyjungz | 2:c96b02fcb98e | 2 | #define DATA_TAG "<Data>" |
| Lucyjungz | 2:c96b02fcb98e | 3 | #define UPDATE_INTERVAL_TAG "<Update_Interval>" |
| Lucyjungz | 2:c96b02fcb98e | 4 | #define SETUP_FILE_NAME "/sd/RMS_Tester.xml" |
| Lucyjungz | 2:c96b02fcb98e | 5 | #define GPS_LOG_FILE_NAME "/sd/gps.csv" |
| Lucyjungz | 2:c96b02fcb98e | 6 | #define MINIRMS_LOG_FILE_NAME "/sd/miniRMS.log" |
| Lucyjungz | 2:c96b02fcb98e | 7 | #define XMLTEXT_SIZE 20 |
| Lucyjungz | 2:c96b02fcb98e | 8 | |
| Lucyjungz | 2:c96b02fcb98e | 9 | |
| Lucyjungz | 2:c96b02fcb98e | 10 | typedef enum { |
| Lucyjungz | 2:c96b02fcb98e | 11 | STATE_FINDING, /** Finding */ |
| Lucyjungz | 2:c96b02fcb98e | 12 | STATE_FOUND_DATA, /** Found Data tag */ |
| Lucyjungz | 2:c96b02fcb98e | 13 | STATE_FOUND_DATA_INTERVAL, /**< Found update internal of tag*/ |
| Lucyjungz | 2:c96b02fcb98e | 14 | STATE_FOUND_GPS, /** Found GPS tag */ |
| Lucyjungz | 2:c96b02fcb98e | 15 | STATE_FOUND_GPS_INTERVAL, /** Found update internal of GPS*/ |
| Lucyjungz | 2:c96b02fcb98e | 16 | }ReadingFileState; |
| Lucyjungz | 2:c96b02fcb98e | 17 | |
| Lucyjungz | 2:c96b02fcb98e | 18 | |
| Lucyjungz | 2:c96b02fcb98e | 19 | |
| Lucyjungz | 2:c96b02fcb98e | 20 | void readSetupFile(); |
| Lucyjungz | 2:c96b02fcb98e | 21 | void delete_file(char filename[]); |
| Lucyjungz | 2:c96b02fcb98e | 22 | int GPSInterval(); |
| Lucyjungz | 2:c96b02fcb98e | 23 | int DataInterval(); |
| Lucyjungz | 2:c96b02fcb98e | 24 | void logGPSData(char date[], char time[]); |
| Lucyjungz | 2:c96b02fcb98e | 25 | void logSystemData(float gps_interval); |
