nsp specific components for the NSP version of the impact endpoint

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

Revision:
24:b62fec3ff73c
Parent:
13:6998d9c2410e
Child:
25:d7f6769dd97e
--- a/NSPDefinitions.h	Thu Aug 28 21:17:12 2014 +0000
+++ b/NSPDefinitions.h	Sat Sep 13 04:27:32 2014 +0000
@@ -33,6 +33,14 @@
 // Preference File Configuration
 #define PREFERENCES_FILE            "/local/nsp.cfg"     // preferences file for endpoint 
 
+// Gateway REST API URL
+#define GW_AUTOREGISTER_URL         "http://%s:%s/NSP-IOC-Gateway/IOCRestAPI?ep=%s"
+
+// Auto Register buffer sizes
+#define AUTOREGISTER_URL_LENGTH     128
+#define AUTOREGISTER_RESPONSE_LEN   128
+#define GW_AUTOREGISTER_TIMEOUT_MS  2500
+
 // Personality Name Configuration
 #ifdef LIGHT_PERSONALITY
     #define PERSONALITY_NAME        "light-nsp-%d"        // name of each personality (i.e. light) in this endpoint