Select one of the symbols to view example projects that use it.
 
Outline
#include "esp_err.h"
#include "esp_openthread.h"
#include "esp_openthread_types.h"
#include "hal/uart_types.h"
#include "lib/spinel/spinel_interface.hpp"
#include "lib/hdlc/hdlc.hpp"
#include "openthread/error.h"
esp
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/openthread/private_include/esp_spinel_interface.hpp
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include "esp_err.h" #include "esp_openthread.h" #include "esp_openthread_types.h" #include "hal/uart_types.h" #include "lib/spinel/spinel_interface.hpp" #include "lib/hdlc/hdlc.hpp" #include "openthread/error.h"7 includes namespace esp { namespace openthread { /** * This class defines an template to adapt both UartSpinelInterface and SpiSpinelInterface. * *//* ... */ template <typename InterfaceType> class SpinelInterfaceAdapter { public: /** * @brief This constructor of object. *//* ... */ SpinelInterfaceAdapter(void) {} /** * @brief This destructor of the object. * *//* ... */ ~SpinelInterfaceAdapter(void) {} /** * @brief This method return the underlying spinel interface. * * @return The underlying spinel interface. * *//* ... */ InterfaceType &GetSpinelInterface(void) { return mSpinelInterface; } ... private: InterfaceType mSpinelInterface;... }{ ... }; }{...} // namespace openthread }{...} // namespace esp
Details