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:
- 155:582462821bd7
- Parent:
- 145:24ac7ac92777
- Child:
- 158:0cecb265bb18
diff -r 6e60f310ab78 -r 582462821bd7 CommonDefinitions.h --- a/CommonDefinitions.h Thu Apr 03 00:50:36 2014 +0000 +++ b/CommonDefinitions.h Mon Apr 07 03:14:54 2014 +0000 @@ -28,18 +28,18 @@ #define RESOURCE_VALUE_LEN 33 // Resource value max length // Number of Resources our Endpoint has -#define NUM_RESOURCES 50 // do not exceed this number of resources in the endpoint. currently at 25 +#define NUM_RESOURCES 30 // do not exceed this number of resources in the endpoint. currently at 25 // IOC <--> Resource Mapping -#define NUM_MAPPINGS 50 // do not exceed this number of IOC <--> NSP resource mappings. currently at 17 +#define NUM_MAPPINGS 20 // do not exceed this number of IOC <--> NSP resource mappings. currently at 17 // 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 MAX_NUM_PREFERENCES 5 // support a total of 5 unique preferences +#define PREFERENCE_NAME_LEN 24 // largest preference name +#define PREFERENCE_VALUE_LEN 40 // largest preference value // Personality Configuration #define NUM_PERSONALITY_INSTANCES 1 // number of isntances of a specific personality (i.e. light) in this endpoint