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:
- 53:a009aee720fe
- Parent:
- 50:daebff684b04
- Child:
- 62:b875d027db73
diff -r f0b4710c43f9 -r a009aee720fe CommonDefinitions.h --- a/CommonDefinitions.h Sun Mar 02 17:11:33 2014 +0000 +++ b/CommonDefinitions.h Sun Mar 02 17:16:54 2014 +0000 @@ -21,7 +21,7 @@ // Error Handler Log Message Length #define MAX_LOG_MESSAGE 900 // maximum size of a logging message -#define TEMP_BUFFER_LEN 128 // working/temp buffer length +#define TEMP_BUFFER_LEN 128 // working/temp buffer length // Resource Configuration #define RESOURCE_NAME_LEN 24 // Resource name max length @@ -31,14 +31,14 @@ #define NUM_RESOURCES 16 // MapEntry Name length -#define MAX_NAME_LENGTH 20 +#define MAX_NAME_LENGTH 24 // IOC <--> Resource Mapping #define NUM_MAPPINGS NUM_RESOURCES // matches the number of resources // Common Light Definition #define NUM_LIGHTS 1 // number of lights in this endpoint -#define LIGHT_NAME_LEN 64 // buffer size for the light name +#define LIGHT_NAME_LEN 48 // buffer size for the light name #define LIGHT_ON_STATE "0" // initial state of each light in this endpoint #define LIGHT_DIM_STATE "25" // initial dimming state of each light in this endpoint