uploaded 2 weeks ago
USB DTE plugin for esp_modem component


USB DTE plugin for esp_modem

:warning: Experimental feature: USB DTE is under development!

This component extends esp_modem with USB DTE.

For example usage see esp_modem console example.

USB DTE supports device reconnection and hot-plugging. You must only register callback function for DEVICE_GONE event and react accordingly:

auto dte = create_usb_dte(&dte_config);
dte->set_error_cb([&](terminal_error err) {
    if (err == terminal_error::DEVICE_GONE) {
        // Signal your application that USB modem device has been disconnected


Supports all targets

License: Apache-2.0

To add this component to your project, run: add-dependency espressif/esp_modem_usb_dte^0.0.3
or download archive


  • espressif/esp_modem ^0.1.20
  • espressif/usb_host_cdc_acm 1.*
  • ESP-IDF >=4.4