Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(esp_modem_usb_dte): add esp32p4 support & add cat.4 ec20 modem #42

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion host/class/cdc/esp_modem_usb_dte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## Unreleased
## 1.2.0

- Fixed C++ build error for `usb_host_config_t` backward compatibility
- Added default configuration for SimCom SIM7070G, SIM7080 and SIMA7672E modems
- Added default configuration for Quectel EC20
- Added ESP32-P4 support

### Known issues
- ESP32-P4 cannot receive fragmented AT responses from a modem. Thus, some SimCom modems do not work with this version

## 1.1.0

Expand Down
1 change: 0 additions & 1 deletion host/class/cdc/esp_modem_usb_dte/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
idf_component_register(SRCS "esp_modem_usb.cpp" "esp_modem_usb_api_target.cpp" "esp_modem_usb_c_api.cpp"
REQUIRED_IDF_TARGETS esp32s2 esp32s3
PRIV_INCLUDE_DIRS "private_include"
INCLUDE_DIRS "include")

Expand Down
3 changes: 2 additions & 1 deletion host/class/cdc/esp_modem_usb_dte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Then, you can pass these constants to [ESP_MODEM_DEFAULT_USB_CONFIG](https://git

## List of tested modems
The following modems were tested with this component, their configurations can be found in [esp_modem_usb_config.h](https://github.com/espressif/idf-extra-components/blob/master/usb/esp_modem_usb_dte/include/esp_modem_usb_config.h):
* Quactel BG96
* Quectel BG96
* Quectel EC20
* SimCom SIM7600E
* SimCom A7670E
2 changes: 1 addition & 1 deletion host/class/cdc/esp_modem_usb_dte/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## IDF Component Manager Manifest File
version: "1.1.0~1"
version: "1.2.0"
description: USB DTE plugin for esp_modem component
url: https://github.com/espressif/esp-usb/tree/master/host/class/cdc/esp_modem_usb_dte

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct esp_modem_usb_term_config {
#define ESP_MODEM_DEFAULT_USB_CONFIG(_vid, _pid, _intf) ESP_MODEM_DEFAULT_USB_CONFIG_DUAL(_vid, _pid, _intf, -1)

/**
* @brief Default configuration of Quactel BG96 modem
* @brief Default configuration of Quectel BG96 modem
*/
#define ESP_MODEM_BG96_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG(0x2C7C, 0x0296, 2)

Expand Down Expand Up @@ -88,3 +88,8 @@ struct esp_modem_usb_term_config {
* @brief Default configuration of SimCom SIMA7672E modem
*/
#define ESP_MODEM_SIMA7672E_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG_DUAL(0x1E0E, 0x9011, 4, 5)

/**
* @brief Default configuration of Quectel EC20 modem
*/
#define ESP_MODEM_EC20_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG(0x2C7C, 0x0125, 3)
Loading