mbedConnectorInterface back port from mbedOS v3 using mbed-client C++ call interface
Diff: source/ConnectorEndpoint.cpp
- Revision:
- 2:1a7a292555d1
- Parent:
- 1:16f0fb5b8d97
- Child:
- 3:ce348020b691
--- a/source/ConnectorEndpoint.cpp Sun Feb 21 05:06:13 2016 +0000 +++ b/source/ConnectorEndpoint.cpp Sun Feb 21 15:44:34 2016 +0000 @@ -50,13 +50,13 @@ __endpoint = (Connector::Endpoint *)utils_init_endpoint(canActAsRouterNode); } - // plumb network - DEBUG_OUT("Endpoint::plumbNetwork: plumbing network...\r\n"); - net_stubs_plumb_network((void *)__endpoint); - // configure the endpoint now... DEBUG_OUT("Endpoint::plumbNetwork: configuring endpoint...\r\n"); utils_configure_endpoint((void *)__endpoint); + + // plumb network + DEBUG_OUT("Endpoint::plumbNetwork: plumbing network...\r\n"); + net_stubs_plumb_network((void *)__endpoint); } // STATIC: Finalize the endpoint's configuration and begin the endpoint's main even loop (static, not tied into Logger)