mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 19:27:46 +00:00
Remove openthread.cpp.
This commit is contained in:
@@ -113,7 +113,6 @@
|
||||
<ClCompile Include="..\..\src\core\net\ip6_routes.cpp" />
|
||||
<ClCompile Include="..\..\src\core\net\netif.cpp" />
|
||||
<ClCompile Include="..\..\src\core\net\udp6.cpp" />
|
||||
<ClCompile Include="..\..\src\core\openthread.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\address_resolver.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\announce_begin_server.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\energy_scan_server.cpp" />
|
||||
|
||||
@@ -219,9 +219,6 @@
|
||||
<ClCompile Include="..\..\src\core\net\udp6.cpp">
|
||||
<Filter>Source Files\net</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\core\openthread.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\core\mac\mac_blacklist.cpp">
|
||||
<Filter>Source Files\mac</Filter>
|
||||
</ClCompile>
|
||||
|
||||
@@ -120,7 +120,6 @@
|
||||
<ClCompile Include="..\..\src\core\net\ip6_routes.cpp" />
|
||||
<ClCompile Include="..\..\src\core\net\netif.cpp" />
|
||||
<ClCompile Include="..\..\src\core\net\udp6.cpp" />
|
||||
<ClCompile Include="..\..\src\core\openthread.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\address_resolver.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\announce_begin_server.cpp" />
|
||||
<ClCompile Include="..\..\src\core\thread\energy_scan_server.cpp" />
|
||||
|
||||
@@ -222,9 +222,6 @@
|
||||
<ClCompile Include="..\..\src\core\net\udp6.cpp">
|
||||
<Filter>Source Files\net</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\core\openthread.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\core\mac\mac_blacklist.cpp">
|
||||
<Filter>Source Files\mac</Filter>
|
||||
</ClCompile>
|
||||
|
||||
@@ -39,7 +39,6 @@ CPPFLAGS_COMMON = \
|
||||
$(NULL)
|
||||
|
||||
SOURCES_COMMON = \
|
||||
openthread.cpp \
|
||||
api/crypto_api.cpp \
|
||||
api/dataset_api.cpp \
|
||||
api/icmp6_api.cpp \
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2016, The OpenThread Authors.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. Neither the name of the copyright holder nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* This file implements the top-level interface to the OpenThread stack.
|
||||
*/
|
||||
|
||||
#define WPP_NAME "openthread.tmh"
|
||||
|
||||
#ifdef OPENTHREAD_CONFIG_FILE
|
||||
#include OPENTHREAD_CONFIG_FILE
|
||||
#else
|
||||
#include <openthread-config.h>
|
||||
#endif
|
||||
|
||||
#include "openthread/openthread.h"
|
||||
#include "openthread/platform/settings.h"
|
||||
#include "openthread/platform/radio.h"
|
||||
#include "openthread/platform/random.h"
|
||||
#include "openthread/platform/misc.h"
|
||||
|
||||
#include <common/code_utils.hpp>
|
||||
#include <common/debug.hpp>
|
||||
#include <common/logging.hpp>
|
||||
#include <common/message.hpp>
|
||||
#include <common/new.hpp>
|
||||
#include <common/settings.hpp>
|
||||
#include <common/timer.hpp>
|
||||
#include <crypto/mbedtls.hpp>
|
||||
#include <net/icmp6.hpp>
|
||||
#include <net/ip6.hpp>
|
||||
#include <thread/thread_netif.hpp>
|
||||
#include <thread/thread_uris.hpp>
|
||||
#include <openthread-instance.h>
|
||||
#include <coap/coap_server.hpp>
|
||||
|
||||
using namespace Thread;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
Reference in New Issue
Block a user