mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Diff: mbedConnectorInterface.h
- Revision:
- 18:95c2f95a75fe
- Parent:
- 17:eb37243f029a
- Child:
- 19:e2cbaeeea509
diff -r eb37243f029a -r 95c2f95a75fe mbedConnectorInterface.h --- a/mbedConnectorInterface.h Tue Feb 17 06:58:46 2015 +0000 +++ b/mbedConnectorInterface.h Wed Feb 18 19:40:13 2015 +0000 @@ -34,7 +34,7 @@ #define NSP_COAP_UDP_PORT 5683 #define NSP_RD_UPDATE_PERIOD 30000 // (in ms) - 30 seconds -// NODE Configuration +// 6LowPAN Configuration #define NODE_MAC_ADDRESS_LENGTH 8 #define NODE_MAC_ADDRESS {0x00,0x00,0x06,0x02,0x00,0x00,0x36,0x18} #define NODE_CHANNEL_LIST 0x07FFF800 // All channels @@ -43,10 +43,10 @@ #define MAX_VALUE_BUFFER_LENGTH 256 // largest "value" a dynamic resource may assume as a string // Instance Pointer Table Configuration -#define IPT_MAX_ENTRIES 10 // maximum number of unique pointers managed by the IPT (i.e. number of ind dynamic resources) +#define IPT_MAX_ENTRIES 5 // maximum number of unique pointers managed by the IPT (i.e. number of independent dynamic resources) // Logger buffer size -#define LOGGER_BUFFER_LENGTH 200 // largest single print of a given debug line +#define LOGGER_BUFFER_LENGTH 300 // largest single print of a given debug line // WiFi Configuration #define WIFI_SSID_LENGTH 128