You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/usb/host/usb_cdc_4g_module/README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
# USB CDC 4G Module
4
4
5
-
This example demonstrates the ESP32-S2, ESP32-S3 series SoC as a USB host to dial-up 4G Cat.1 through PPP to access the Internet, with the help of ESP32-SX Wi-Fi softAP function, share the Internet with IoT devices or mobile devices. Realize low-cost "medium-high-speed" Internet access.It is also equipped with a router management interface, which allows you to configure the router online and view the information of connected devices.
5
+
This example demonstrates the **ESP32-S2**, **ESP32-S3** series SoC as a USB host to dial-up 4G Cat.1 through PPP to access the Internet, with the help of ESP32-SX Wi-Fi softAP function, share the Internet with IoT devices or mobile devices. Realize low-cost "medium-high-speed" Internet access.It is also equipped with a router management interface, which allows you to configure the router online and view the information of connected devices.
6
+
7
+
In addition, the **ESP32-P4** supports the 4G Cat.4 module (EC20) with faster speeds, but it currently only supports internet access for itself.
6
8
7
9
**Features Supported:**
8
10
@@ -20,10 +22,11 @@ This example demonstrates the ESP32-S2, ESP32-S3 series SoC as a USB host to dia
20
22
21
23
## Hardware requirement
22
24
23
-
**Supported ESP Soc:**
25
+
**Supported ESP Soc:**
24
26
25
27
* ESP32-S2
26
28
* ESP32-S3
29
+
* ESP32-P4
27
30
28
31
> We recommend using ESP modules or chips that integrate 4MB above Flash, and 2MB above PSRAM. The example does not enable PSRAM by default, but users can add to tests by themselves. In theory, increasing the Wi-Fi buffer size can increase the average data throughput rate.
29
32
@@ -116,8 +119,8 @@ I (9659) esp-modem: --------- Modem PreDefined Info ------------------
116
119
I (9666) esp-modem: Model: ML302-DNLM/CNLM
117
120
I (9671) esp-modem: Modem itf: IN Addr:0x81, OUT Addr:0x01
118
121
I (9677) esp-modem: ----------------------------------------------------
Enable the `4G Modem Configuration -> Dump system task status` option in`menuconfig` to print task detailed information, or open the `Component config → USB Host CDC ->Trace internal memory status` option to print usb internal buffer usage information.
198
+
Enable the `4G Modem Configuration -> Dump system task status` option in`menuconfig` to print task detailed information.
196
199
197
200
```
198
201
I (79530) main: Task dump
@@ -211,14 +214,6 @@ Enable the `4G Modem Configuration -> Dump system task status` option in `menuco
211
214
I (79577) main: 0.00 1092 sys_evt 20
212
215
I (79582) main: Free heap=37088 bigst=16384, internal=36968 bigst=16384
213
216
I (79589) main: ..............
214
-
215
-
I (79593) USB_HCDC: USBH CDC Transfer Buffer Dump:
216
-
I (79599) USB_HCDC: usb transfer Buffer size, out = 3000, in = 1500
217
-
I (79606) USB_HCDC: usb transfer Max packet size, out = 46, in = 48
218
-
219
-
I (79613) USB_HCDC: USBH CDC Ringbuffer Dump:
220
-
I (79618) USB_HCDC: usb ringbuffer size, out = 15360, in = 15360
221
-
I (79625) USB_HCDC: usb ringbuffer High water mark, out = 46, in = 48
222
217
```
223
218
224
219
**2. Performance optimization**
@@ -249,3 +244,7 @@ Enable the `4G Modem Configuration -> Dump system task status` option in `menuco
249
244
250
245
> **4G Cat.1 theoretical peak download rate is 10 Mbps, peak upload rate is 5 Mbps**
251
246
> The actual communication rate is affected by the operator's network, test software, Wi-Fi interference, and the number of terminal connections, etc.
247
+
248
+
## Known Issues
249
+
250
+
* ESP32-P4 currently does not support enabling the softAP functionvia`esp_wifi_remote`.
0 commit comments