我想通过修改usb_cdc_4g_module demo实现PPP拨号上网

Moderator: ESP_Bob

玄智科技_陈燎亮
Posts: 2
Joined: Wed Jun 19, 2024 3:33 am

我想通过修改usb_cdc_4g_module demo实现PPP拨号上网

Postby 玄智科技_陈燎亮 » Wed Jun 19, 2024 5:59 am

我选择4G模块是air780e,
有附上我的模组图片,模组上似乎没有rest控制脚,程序中选择gpio13为复位控制脚,且说是必选的,但是我并没有这个脚。
正常的日志结果和我的似乎不太一样,我的到了I (5875) USB_HCDC: CDC task start就没后续了,是因为没接复位脚吗

这是我的日志
I (0) cpu_start: App cpu up.
I (310) cpu_start: Pro cpu start user code
I (310) cpu_start: cpu freq: 240000000 Hz
I (310) cpu_start: Application information:
I (313) cpu_start: Project name: usb_cdc_4g_module
I (319) cpu_start: App version: be8a92bd
I (324) cpu_start: Compile time: Jun 18 2024 11:38:17
I (330) cpu_start: ELF file SHA256: 3b7e4eafec4fa330...
I (336) cpu_start: ESP-IDF: v5.1.3-dirty
I (341) cpu_start: Min chip rev: v0.0
I (346) cpu_start: Max chip rev: v0.99
I (351) cpu_start: Chip rev: v0.2
I (355) heap_init: Initializing. RAM available for dynamic allocation:
I (363) heap_init: At 3FCA2900 len 00046E10 (283 KiB): DRAM
I (369) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (375) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (382) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (388) spi_flash: detected chip: generic
I (393) spi_flash: flash io: qio
W (396) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (410) sleep: Configure to isolate all GPIO pins in sleep state
I (416) sleep: Enable automatic switching of GPIO sleep configuration
I (424) app_start: Starting scheduler on CPU0
I (429) app_start: Starting scheduler on CPU1
I (429) main_task: Started on CPU0
I (439) main_task: Calling app_main()
I (443) led_indicator: LED Indicator Version: 0.3.0
I (448) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (457) led_indicator: blink_lists is null, use default blink list
W (464) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (482) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0xf, is_active_level_high:1, blink_lists:default
I (494) led_indicator: LED Indicator Version: 0.3.0
I (500) gpio: GPIO[17]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (509) led_indicator: blink_lists is null, use default blink list
W (516) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (534) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x11, is_active_level_high:1, blink_lists:default
I (546) led_indicator: LED Indicator Version: 0.3.0
I (552) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (561) led_indicator: blink_lists is null, use default blink list
W (568) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (586) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x10, is_active_level_high:1, blink_lists:default
I (613) 4g_main: ====================================
I (613) 4g_main: ESP 4G Cat.1 Wi-Fi Router
I (613) 4g_main: ====================================
I (618) modem_board: iot_usbh_modem, version: 0.2.1
I (624) modem_board: Force reset modem board....
I (629) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (639) modem_board: Resetting modem using io=13, level=0
I (845) modem_board: Waiting for modem initialize ready
I (5845) USB_HCDC: iot_usbh_cdc, version: 0.2.2
I (5845) IOT_USBH: iot_usbh, version: 0.2.1
I (5875) IOT_USBH: USB Port=1 init succeed, fifo strategy=0
I (5875) IOT_USBH: USB Processing Start
I (5875) IOT_USBH: usb port start succeed
I (5875) IOT_USBH: Waiting USB Connection
I (5879) USB_HCDC: usbh cdc driver install succeed
I (5884) IOT_USBH: Port power: ON Succeed
I (5889) USB_HCDC: Waiting CDC Device Connection
I (5875) USB_HCDC: CDC task start
Attachments
02f1b58e0da05d22ea2615b247a7e8a.jpg
02f1b58e0da05d22ea2615b247a7e8a.jpg (99.94 KiB) Viewed 5458 times

玄智科技_陈燎亮
Posts: 2
Joined: Wed Jun 19, 2024 3:33 am

Re: 我想通过修改usb_cdc_4g_module demo实现PPP拨号上网

Postby 玄智科技_陈燎亮 » Mon Jun 24, 2024 1:57 am

有使用成功的大哥指点一下吗,也可以通过我的qq联系我:2272271。

Who is online

Users browsing this forum: No registered users and 30 guests