cxx modem data mode working

This commit is contained in:
David Cermak
2021-02-27 09:32:14 +01:00
parent 7807770d50
commit a9a00387cc
5 changed files with 64 additions and 11 deletions

View File

@ -20,9 +20,11 @@ class ppp {
public:
explicit ppp(std::shared_ptr<dte> e, esp_netif_t *netif);
void start();
private:
void receive(uint8_t *data, size_t len) const;
std::shared_ptr<dte> ppp_dte;
esp_netif_t *netif;
std::shared_ptr<dte> _dte;
struct ppp_netif_driver driver;
};