use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/mbedConnectorInterface.h
- Revision:
- 59:dd395412bd19
- Parent:
- 57:b017388f1aa3
- Child:
- 60:0d9e607dd678
diff -r 7a2df2ce591e -r dd395412bd19 mbed-connector-interface/mbedConnectorInterface.h --- a/mbed-connector-interface/mbedConnectorInterface.h Tue Aug 09 19:13:20 2016 +0000 +++ b/mbed-connector-interface/mbedConnectorInterface.h Tue Aug 09 23:29:30 2016 +0000 @@ -47,7 +47,10 @@ // Connection URL to mbed Cloud #if MBED_CONF_APP_NETWORK_INTERFACE == MESH_LOWPAN_ND || MBED_CONF_APP_NETWORK_INTERFACE == MESH_THREAD // IPv6 URL Configuration - #define CONNECTOR_URL "coaps://[2607:f0d0:2601:52::20]:5684" + #define CONNECTOR_URL "coaps://[2607:f0d0:2601:52::20]:5684" + + // OVERRIDE (until patched in mbed-client) + #define IPV4_OVERRIDE true #else // IPv4 URL Configuration #define CONNECTOR_URL "coap://api.connector.mbed.com:5684"