mbedConnectorInterface back port from mbedOS v3 using mbed-client C++ call interface
Embed:
(wiki syntax)
Show/hide line numbers
mbedEndpointNetwork.h
Go to the documentation of this file.
00001 /** 00002 * @file mbedEndpointNetwork.h 00003 * @brief mbed Endpoint Network header - declares underling network instance 00004 * @author Doug Anson 00005 * @version 1.0 00006 * @see 00007 * 00008 * Copyright (c) 2014 00009 * 00010 * Licensed under the Apache License, Version 2.0 (the "License"); 00011 * you may not use this file except in compliance with the License. 00012 * You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, software 00017 * distributed under the License is distributed on an "AS IS" BASIS, 00018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 * See the License for the specific language governing permissions and 00020 * limitations under the License. 00021 */ 00022 00023 #ifndef __MBED_ENDPOINT_NETWORK_H__ 00024 #define __MBED_ENDPOINT_NETWORK_H__ 00025 00026 // mbed-client support 00027 #include "mbed-client/m2minterfacefactory.h" 00028 #include "mbed-client/m2mdevice.h" 00029 #include "mbed-client/m2minterfaceobserver.h" 00030 #include "mbed-client/m2minterface.h" 00031 #include "mbed-client/m2mobjectinstance.h" 00032 #include "mbed-client/m2mresource.h" 00033 00034 // mbed Connector Interface (configuration) 00035 #include "mbed-connector-interface/mbedConnectorInterface.h" 00036 00037 // Include the Connector::Endpoint 00038 #include "mbed-connector-interface/ConnectorEndpoint.h" 00039 00040 // Include the Connector::OptionsBuilder 00041 #include "mbed-connector-interface/OptionsBuilder.h" 00042 00043 // Linkage to the lower network APIs and interfaces 00044 extern "C" void net_plumb_network(void *p); 00045 extern "C" void net_perform_endpoint_registration(Connector::Endpoint *endpoint); 00046 extern "C" void net_create_main_loop(Connector::Endpoint *endpoint); 00047 extern "C" void net_begin_main_loop(Connector::Endpoint *endpoint); 00048 extern "C" void net_setup_deregistration_button(void *p); 00049 00050 #endif // __MBED_ENDPOINT_NETWORK_H__ 00051
Generated on Wed Jul 13 2022 21:59:32 by
1.7.2