/* * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */#pragmaonce#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 includesnamespaceesp{namespaceopenthread{/** * This class defines an template to adapt both UartSpinelInterface and SpiSpinelInterface. * *//* ... */template<typenameInterfaceType>classSpinelInterfaceAdapter{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){returnmSpinelInterface;}...private:InterfaceTypemSpinelInterface;...}{ ... };}{...}// namespace openthread}{...}// namespace esp
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.