mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 13:02:21 +02:00
Reworded DCE/DTE modes and switching
This commit is contained in:
11
esp_modem/src/esp_modem_dce.cpp
Normal file
11
esp_modem/src/esp_modem_dce.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include "cxx_include/esp_modem_dte.hpp"
|
||||
#include "cxx_include/esp_modem_dce.hpp"
|
||||
#include <string.h>
|
||||
|
||||
#include <utility>
|
||||
#include "esp_log.h"
|
||||
|
||||
DCE::DCE(const std::shared_ptr<DTE>& dte, std::shared_ptr<DeviceIf> device, esp_netif_t * netif):
|
||||
dce_dte(dte), device(std::move(device)), ppp_netif(dte, netif)
|
||||
{ }
|
||||
|
Reference in New Issue
Block a user