mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: mbed-connector-interface/mbedConnectorInterface.h
- Revision:
- 33:1d0b855df5a5
- Parent:
- 0:1f1f55e73248
- Child:
- 49:c603a22495bb
--- a/mbed-connector-interface/mbedConnectorInterface.h Tue Jun 14 19:04:08 2016 +0000 +++ b/mbed-connector-interface/mbedConnectorInterface.h Tue Jun 14 19:29:30 2016 +0000 @@ -35,8 +35,8 @@ // mbed-client endpoint lifetime #define REG_LIFETIME_SEC 600 // Lifetime of the endpoint in seconds -// DeviceResource Root Object Name (UGLY) -#define M2M_DEVICE_RES_ROOT "3" // need a better way to handle DeviceResource object names... this is hard coded for now... +// Maximum CoAP URL length +#define MAX_CONN_URL_LENGTH 256 // Maximum Connection URL length // 6LowPAN Configuration #define NODE_MAC_ADDRESS_LENGTH 8 @@ -44,10 +44,7 @@ #define NODE_CHANNEL_LIST 0x07FFF800 // All channels // DynamicResource Configuration -#define MAX_VALUE_BUFFER_LENGTH 128 // largest "value" a dynamic resource may assume as a string - -// Instance Pointer Table Configuration -#define IPT_MAX_ENTRIES 5 // maximum number of unique pointers managed by the IPT (i.e. number of independent dynamic resources) +#define MAX_VALUE_BUFFER_LENGTH 256 // largest "value" a dynamic resource may assume as a string // Logger buffer size #define LOGGER_BUFFER_LENGTH 300 // largest single print of a given debug line @@ -57,7 +54,6 @@ #define MESH_DEF_NETWORK_ID "Network000000000" #define MESH_DEF_RF_CHANNEL 11 - // WiFi Configuration #define WIFI_SSID_LENGTH 128 #define WIFI_DEFAULT_SSID "changeme"