use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Committer:
ansond
Date:
Tue Jun 14 19:29:30 2016 +0000
Revision:
33:1d0b855df5a5
Parent:
8:f950fb1b78c0
Child:
53:d2f9f94b6000
updated and unified headers

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/m2minterfaceobserver.h"
ansond 1:16f0fb5b8d97 29 #include "mbed-client/m2minterface.h"
ansond 1:16f0fb5b8d97 30 #include "mbed-client/m2mobjectinstance.h"
ansond 1:16f0fb5b8d97 31 #include "mbed-client/m2mresource.h"
ansond 33:1d0b855df5a5 32 #include "mbed-client/m2mdevice.h"
ansond 33:1d0b855df5a5 33 #include "mbed-client/m2mfirmware.h"
ansond 0:1f1f55e73248 34
ansond 1:16f0fb5b8d97 35 // mbed Connector Interface (configuration)
ansond 1:16f0fb5b8d97 36 #include "mbed-connector-interface/mbedConnectorInterface.h"
ansond 1:16f0fb5b8d97 37
ansond 1:16f0fb5b8d97 38 // Include the Connector::Endpoint
ansond 1:16f0fb5b8d97 39 #include "mbed-connector-interface/ConnectorEndpoint.h"
ansond 1:16f0fb5b8d97 40
ansond 1:16f0fb5b8d97 41 // Include the Connector::OptionsBuilder
ansond 1:16f0fb5b8d97 42 #include "mbed-connector-interface/OptionsBuilder.h"
ansond 1:16f0fb5b8d97 43
ansond 8:f950fb1b78c0 44 // Linkage to the lower network APIs and interfaces
ansond 8:f950fb1b78c0 45 extern "C" void net_plumb_network(void *p);
ansond 8:f950fb1b78c0 46 extern "C" void net_perform_endpoint_registration(Connector::Endpoint *endpoint);
ansond 8:f950fb1b78c0 47 extern "C" void net_create_main_loop(Connector::Endpoint *endpoint);
ansond 8:f950fb1b78c0 48 extern "C" void net_begin_main_loop(Connector::Endpoint *endpoint);
ansond 6:d4d1105a1777 49 extern "C" void net_setup_deregistration_button(void *p);
ansond 1:16f0fb5b8d97 50
ansond 1:16f0fb5b8d97 51 #endif // __MBED_ENDPOINT_NETWORK_H__
ansond 1:16f0fb5b8d97 52