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.
Diff: FileManager.h
- Revision:
- 3:6e08d0bba1bb
- Parent:
- 2:18e004a47f52
- Child:
- 4:ec62bf823914
--- a/FileManager.h Tue May 10 11:09:47 2016 +0000 +++ b/FileManager.h Sun May 15 09:56:42 2016 +0000 @@ -1,3 +1,5 @@ +/* ############### Constant Defination ################## */ + #define DEVICE_NAME "sd" // DEVICE_NAME must be put in between "/" for file name @@ -20,6 +22,8 @@ #define RMS_HEADER_TIME "Time" + +/* ############### Enum ################## */ typedef enum { STATE_FINDING, /** Finding */ STATE_FOUND_DATA, /** Found Data tag */ @@ -29,11 +33,15 @@ } ReadingFileState; +/* ############### Structure ################## */ + typedef struct { char varName[VAR_NAME_MAX_SIZE]; char varAddress[VAR_ADDR_MAX_SIZE+1]; } Variable_Data_TypeDef; + +/* ############### Function Prototype ################## */ void readSetupFile(); void delete_file(char filename[]); int GPSInterval();