mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-17 20:42:21 +02:00
Reworded DCE/DTE modes and switching
This commit is contained in:
@ -6,15 +6,12 @@
|
||||
#define SIMPLE_CXX_CLIENT_UART_TERMINAL_HPP
|
||||
|
||||
#include "cxx_include/esp_modem_dte.hpp"
|
||||
#include "esp_modem_dte_config.h"
|
||||
|
||||
std::unique_ptr<terminal> create_uart_terminal(const struct dte_config *config);
|
||||
|
||||
class dte;
|
||||
struct dte_config;
|
||||
|
||||
std::shared_ptr<dte> create_dte(const struct dte_config *config);
|
||||
std::unique_ptr<terminal> create_uart_terminal(const dte_config *config);
|
||||
|
||||
std::unique_ptr<dce> create_dce(const std::shared_ptr<dte>& e, esp_netif_t *netif);
|
||||
|
||||
|
||||
#endif //SIMPLE_CXX_CLIENT_UART_TERMINAL_HPP
|
||||
|
Reference in New Issue
Block a user