fix(modem): Add support for ESP-AT based tcp-client example

This commit is contained in:
David Cermak
2025-07-07 17:12:29 +02:00
parent ccdb45ee94
commit 14d3cb6bd1
10 changed files with 443 additions and 11 deletions
@@ -8,6 +8,7 @@
#include "cxx_include/esp_modem_api.hpp"
#include <cxx_include/esp_modem_dce_factory.hpp>
#include "sock_commands.hpp"
#include "sock_module.hpp"
#include <sys/socket.h>
#pragma once
@@ -97,8 +98,8 @@ private:
std::shared_ptr<esp_modem::DTE> &dte;
};
class DCE : public ::esp_modem::GenericModule {
using esp_modem::GenericModule::GenericModule;
class DCE : public Module {
using Module::Module;
public:
// --- ESP-MODEM command module starts here ---