forked from espressif/esp-protocols
4cf9e505e13e597a09173131ec1f505e246f3398
This allows calling directly:
auto dce = dce_factory::Factory::create_unique_dce_from<SIM7600>(&dce_config, uart_dte, esp_netif);
instead of:
auto dce = create_SIM7600_dce(&dce_config, uart_dte, esp_netif);
Which is very useful when adding a custom module, so we won't need to
update factory layers and add the new device to enums, etc.
To add a new module, you just:
1) Define the module class NewModule: public GenericModule { };
2) Implement the specific commands:
command_result do_work_new_module(CommandableIf *t, params) {}
3) Connect 1) and 2)
command_result NewModule::do_work_new_module(params...)
{
return dce_commands::do_work_new_module(dte.get(), params...);
}
Collection of protocol components for ESP-IDF
How to use
The ESP-Protocols repository contains a collection of protocol components for ESP-IDF. Additionally, each component is available in IDF Component Registry. Please refer to instructions in ESP-IDF
Components
esp_modem
- Brief introduction README
- Full html documentation
mDNS
- Brief introduction README
- Full html documentation(English)
- Full html documentation(Chinese)
esp_websocket_client
- Brief introduction README
- Full html documentation
ASIO port
- Brief introduction README
- Full html documentation
esp_mqtt_cxx
- Brief introduction README
- Full html documentation
Languages
C
56.2%
C++
36.3%
Python
4.4%
CMake
2.3%
Shell
0.3%
Other
0.5%