uploaded 1 year 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](https://components.espressif.com/component/espressif/esp_modem) with USB DTE.

For example usage see esp_modem [console example](https://github.com/espressif/esp-protocols/tree/master/components/esp_modem/examples/modem_console).

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:

idf.py add-dependency "espressif/esp_modem_usb_dte^0.0.3"

or download archive


  • Downloaded in total
    Downloaded in total 28.0k times
  • Downloaded this version
    This version: 53 times


espressif/esp_modem_usb_dte version: 0.0.3