Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: CommonDefinitions.h
- Revision:
- 112:1fb53d4729af
- Parent:
- 110:c69550ced194
- Child:
- 113:432b68bd198f
diff -r dac439bf902b -r 1fb53d4729af CommonDefinitions.h --- a/CommonDefinitions.h Mon Mar 17 16:56:41 2014 +0000 +++ b/CommonDefinitions.h Tue Mar 18 21:46:48 2014 +0000 @@ -36,6 +36,12 @@ // MapEntry Name length #define MAX_NAME_LENGTH 25 +// Preferences configuration +#define MAX_NUM_PREFERENCES 10 // support a total of 10 unique preferences +#define PREFERENCE_NAME_LEN 32 // largest preference name +#define PREFERENCE_VALUE_LEN 48 // largest preference value +#define PREFERENCES_FILE "/local/prefs.cfg" // preferences file for endpoint + // Common Light Definition #define NUM_LIGHTS 1 // number of lights in this endpoint #define LIGHT_NAME_LEN 48 // buffer size for the light name