mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-19 05:22:21 +02:00
remove all remaining C implementation
This commit is contained in:
@ -9,10 +9,10 @@ class GenericModule;
|
||||
class SIM7600;
|
||||
class SIM800;
|
||||
class BG96;
|
||||
struct dte_config;
|
||||
struct esp_modem_dte_config;
|
||||
typedef struct esp_netif_obj esp_netif_t;
|
||||
|
||||
std::shared_ptr<DTE> create_uart_dte(const dte_config *config);
|
||||
std::shared_ptr<DTE> create_uart_dte(const esp_modem_dte_config *config);
|
||||
|
||||
|
||||
std::shared_ptr<GenericModule> create_generic_module(const std::shared_ptr<DTE>& dte, std::string &apn);
|
||||
|
@ -16,7 +16,7 @@ namespace dce_commands {
|
||||
#define ESP_MODEM_DECLARE_DCE_COMMAND(name, return_type, TEMPLATE_ARG, MUX_ARG, ...) \
|
||||
return_type name(CommandableIf *t, ## __VA_ARGS__);
|
||||
|
||||
DECLARE_ALL_COMMAND_APIS(forwards name(...) { device->name(...); } )
|
||||
DECLARE_ALL_COMMAND_APIS(declare name(Commandable *p, ...);)
|
||||
|
||||
#undef ESP_MODEM_DECLARE_DCE_COMMAND
|
||||
|
||||
|
Reference in New Issue
Block a user