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:
- 5:7c513eee7b2b
- Parent:
- 4:ec62bf823914
- Child:
- 6:5bd75c0f607c
--- a/FileManager.h Sun May 15 10:10:25 2016 +0000 +++ b/FileManager.h Mon May 16 08:29:39 2016 +0000 @@ -14,10 +14,15 @@ #define UPDATE_INTERVAL_TAG "<Update_Interval>" #define VAR_NAME_TAG "<varName>" #define VAR_ADDR_TAG "<varAddress>" +#define VAR_SIZE_TAG "<LSB2>" +#define VAR_UNIT_TAG "<Unit>" #define XMLTEXT_SIZE 20 #define VAR_NAME_MAX_SIZE 20 #define VAR_ADDR_MAX_SIZE 10 +#define VAR_SIZE_MAX_SIZE 5 +#define VAR_UNIT_MAX_SIZE 20 + #define MAX_VAR 50 #define RMS_HEADER_TIME "Time" @@ -38,6 +43,8 @@ typedef struct { char varName[VAR_NAME_MAX_SIZE]; char varAddress[VAR_ADDR_MAX_SIZE+1]; + char varSize[VAR_SIZE_MAX_SIZE]; + char varUnit[VAR_UNIT_MAX_SIZE]; } Variable_Data_TypeDef;