use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Committer:
ansond
Date:
Sun Feb 21 05:06:13 2016 +0000
Revision:
1:16f0fb5b8d97
Parent:
0:1f1f55e73248
Child:
6:d4d1105a1777
updated with cleaned up Utils

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 1:16f0fb5b8d97 1 /**
ansond 1:16f0fb5b8d97 2 * @file mbedEndpointNetwork.h
ansond 1:16f0fb5b8d97 3 * @brief mbed Endpoint Network header - declares underling network instance
ansond 1:16f0fb5b8d97 4 * @author Doug Anson
ansond 1:16f0fb5b8d97 5 * @version 1.0
ansond 1:16f0fb5b8d97 6 * @see
ansond 1:16f0fb5b8d97 7 *
ansond 1:16f0fb5b8d97 8 * Copyright (c) 2014
ansond 1:16f0fb5b8d97 9 *
ansond 1:16f0fb5b8d97 10 * Licensed under the Apache License, Version 2.0 (the "License");
ansond 1:16f0fb5b8d97 11 * you may not use this file except in compliance with the License.
ansond 1:16f0fb5b8d97 12 * You may obtain a copy of the License at
ansond 1:16f0fb5b8d97 13 *
ansond 1:16f0fb5b8d97 14 * http://www.apache.org/licenses/LICENSE-2.0
ansond 1:16f0fb5b8d97 15 *
ansond 1:16f0fb5b8d97 16 * Unless required by applicable law or agreed to in writing, software
ansond 1:16f0fb5b8d97 17 * distributed under the License is distributed on an "AS IS" BASIS,
ansond 1:16f0fb5b8d97 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ansond 1:16f0fb5b8d97 19 * See the License for the specific language governing permissions and
ansond 1:16f0fb5b8d97 20 * limitations under the License.
ansond 1:16f0fb5b8d97 21 */
ansond 1:16f0fb5b8d97 22
ansond 1:16f0fb5b8d97 23 #ifndef __MBED_ENDPOINT_NETWORK_H__
ansond 1:16f0fb5b8d97 24 #define __MBED_ENDPOINT_NETWORK_H__
ansond 1:16f0fb5b8d97 25
ansond 1:16f0fb5b8d97 26 // mbed-client support
ansond 1:16f0fb5b8d97 27 #include "mbed-client/m2minterfacefactory.h"
ansond 1:16f0fb5b8d97 28 #include "mbed-client/m2mdevice.h"
ansond 1:16f0fb5b8d97 29 #include "mbed-client/m2minterfaceobserver.h"
ansond 1:16f0fb5b8d97 30 #include "mbed-client/m2minterface.h"
ansond 1:16f0fb5b8d97 31 #include "mbed-client/m2mobjectinstance.h"
ansond 1:16f0fb5b8d97 32 #include "mbed-client/m2mresource.h"
ansond 0:1f1f55e73248 33
ansond 1:16f0fb5b8d97 34 // mbed Connector Interface (configuration)
ansond 1:16f0fb5b8d97 35 #include "mbed-connector-interface/mbedConnectorInterface.h"
ansond 1:16f0fb5b8d97 36
ansond 1:16f0fb5b8d97 37 // Include the Connector::Endpoint
ansond 1:16f0fb5b8d97 38 #include "mbed-connector-interface/ConnectorEndpoint.h"
ansond 1:16f0fb5b8d97 39
ansond 1:16f0fb5b8d97 40 // Include the Connector::OptionsBuilder
ansond 1:16f0fb5b8d97 41 #include "mbed-connector-interface/OptionsBuilder.h"
ansond 1:16f0fb5b8d97 42
ansond 1:16f0fb5b8d97 43 // Linkage to the lower network APIs and interfaces
ansond 1:16f0fb5b8d97 44 extern "C" void net_stubs_plumb_network(void *p);
ansond 1:16f0fb5b8d97 45 extern "C" void net_stubs_create_main_loop(Connector::Endpoint *endpoint);
ansond 1:16f0fb5b8d97 46 extern "C" void net_stubs_begin_main_loop(Connector::Endpoint *endpoint);
ansond 1:16f0fb5b8d97 47
ansond 1:16f0fb5b8d97 48 #endif // __MBED_ENDPOINT_NETWORK_H__
ansond 1:16f0fb5b8d97 49