Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
93:ac4a8d3c2a4f
Parent:
90:0fed8d3e0b81
Child:
97:d631edbc157b
--- a/CommonDefinitions.h	Thu Mar 13 17:36:08 2014 +0000
+++ b/CommonDefinitions.h	Fri Mar 14 03:54:33 2014 +0000
@@ -24,17 +24,17 @@
 #define TEMP_BUFFER_LEN             128           // working/temp buffer length
 
 // Resource Configuration
-#define RESOURCE_NAME_LEN           24            // Resource name max length
-#define RESOURCE_VALUE_LEN          32            // Resource value max length
+#define RESOURCE_NAME_LEN           25            // Resource name max length
+#define RESOURCE_VALUE_LEN          33            // Resource value max length
 
 // Number of Resources our Endpoint has
-#define NUM_RESOURCES               25
+#define NUM_RESOURCES               50            // do not exceed this number of resources in the endpoint. currently at 25
 
 // IOC <--> Resource Mapping
-#define NUM_MAPPINGS                17             // matches the number of resources
+#define NUM_MAPPINGS                50            // do not exceed this number of IOC <--> NSP resource mappings. currently at 17
 
 // MapEntry Name length
-#define MAX_NAME_LENGTH             24
+#define MAX_NAME_LENGTH             25
 
 // Common Light Definition
 #define NUM_LIGHTS                  1              // number of lights in this endpoint