use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: source/ConnectorEndpoint.cpp
- Revision:
- 89:ccd22d25f431
- Parent:
- 88:e78093f6334f
- Child:
- 90:b738617379a6
--- a/source/ConnectorEndpoint.cpp Fri Nov 04 23:56:56 2016 +0000 +++ b/source/ConnectorEndpoint.cpp Fri Nov 04 23:58:52 2016 +0000 @@ -377,7 +377,8 @@ } printf("Connector::Endpoint(Cloud) Error(%x): %s\r\n",error_code,error); } -#else +#endif + // mbed-client: Callback from mbed client stack if any error is encountered void Endpoint::error(M2MInterface::Error error) { switch(error){ @@ -415,7 +416,6 @@ break; } } -#endif // re-register the endpoint void Endpoint::re_register_endpoint() {