ESP Modem component CMUX example not working
Posted: Mon Mar 21, 2022 10:00 pm
Good day.
I am trying to get your esp modem component working with my SIMCOM A 7672E modem.
my requirement is to be able to CMUX gps AT commands while handling an active PPPos connection with the ESP32C3 SOC.
compent URL : https://components.espressif.com/compon ... /esp_modem
The example doesnt work...
i have neabled the debug log on the standard CMUX example provided :
D (844) intr_alloc: Connected src 39 to int 2 (cpu 0)
I (849) sleep: Configure to isolate all GPIO pins in sleep state
I (856) sleep: Enable automatic switching of GPIO sleep configuration
D (863) cpu_start: Setting C++ exception workarounds.
D (868) intr_alloc: Connected src 50 to int 3 (cpu 0)
I (873) cpu_start: Starting scheduler.
D (877) intr_alloc: Connected src 37 to int 4 (cpu 0)
D (877) heap_init: New heap initialised at 0x3fcc0000
D (877) intr_alloc: Connected src 33 to int 7 (cpu 0)
D (887) event: running task for loop 0x3fc95c50
D (887) event: created task for loop 0x3fc95c50
D (887) event: created event loop 0x3fc95c50
D (897) esp_netif_lwip: LwIP stack has been initialized
D (897) esp_netif_lwip: esp-netif has been successfully initialized
I (25907) uart: queue free spaces: 30
D (25907) intr_alloc: Connected src 22 to int 9 (cpu 0)
D (25907) esp_netif_objects: esp_netif_add_to_list 0x3fc9b0cc
D (25907) esp_netif_objects: esp_netif_add_to_list netif added successfully (total netifs: 1)
D (25917) esp-netif_lwip-ppp: esp_netif_new_ppp: PPP connection created: 0x3fc9b3fc
D (25927) esp-netif_lwip-ppp: Phase Dead
D (25927) command_lib: generic_command command AT+CMUX=0
D (25937) command_lib: Response: AT+CMUX=0
OK
D (25947) CMUX: Payload frame: dlci:00 type:73 payload:0 available:2
D (25957) CMUX: Payload frame: dlci:01 type:73 payload:0 available:2
D (25967) CMUX: Payload frame: dlci:02 type:73 payload:0 available:2
D (25977) command_lib: generic_command command ATE0
D (25977) CMUX: Payload frame: dlci:01 type:ef payload:5 available:19
D (25977) CMUX: Payload frame: dlci:01 type:ef payload:6 available:8
E (26477) cmux_example: Failed to configure desired mode... exiting
D (26477) event: deleted loop 0x3fc95c50
I am trying to get your esp modem component working with my SIMCOM A 7672E modem.
my requirement is to be able to CMUX gps AT commands while handling an active PPPos connection with the ESP32C3 SOC.
compent URL : https://components.espressif.com/compon ... /esp_modem
The example doesnt work...
i have neabled the debug log on the standard CMUX example provided :
D (844) intr_alloc: Connected src 39 to int 2 (cpu 0)
I (849) sleep: Configure to isolate all GPIO pins in sleep state
I (856) sleep: Enable automatic switching of GPIO sleep configuration
D (863) cpu_start: Setting C++ exception workarounds.
D (868) intr_alloc: Connected src 50 to int 3 (cpu 0)
I (873) cpu_start: Starting scheduler.
D (877) intr_alloc: Connected src 37 to int 4 (cpu 0)
D (877) heap_init: New heap initialised at 0x3fcc0000
D (877) intr_alloc: Connected src 33 to int 7 (cpu 0)
D (887) event: running task for loop 0x3fc95c50
D (887) event: created task for loop 0x3fc95c50
D (887) event: created event loop 0x3fc95c50
D (897) esp_netif_lwip: LwIP stack has been initialized
D (897) esp_netif_lwip: esp-netif has been successfully initialized
I (25907) uart: queue free spaces: 30
D (25907) intr_alloc: Connected src 22 to int 9 (cpu 0)
D (25907) esp_netif_objects: esp_netif_add_to_list 0x3fc9b0cc
D (25907) esp_netif_objects: esp_netif_add_to_list netif added successfully (total netifs: 1)
D (25917) esp-netif_lwip-ppp: esp_netif_new_ppp: PPP connection created: 0x3fc9b3fc
D (25927) esp-netif_lwip-ppp: Phase Dead
D (25927) command_lib: generic_command command AT+CMUX=0
D (25937) command_lib: Response: AT+CMUX=0
OK
D (25947) CMUX: Payload frame: dlci:00 type:73 payload:0 available:2
D (25957) CMUX: Payload frame: dlci:01 type:73 payload:0 available:2
D (25967) CMUX: Payload frame: dlci:02 type:73 payload:0 available:2
D (25977) command_lib: generic_command command ATE0
D (25977) CMUX: Payload frame: dlci:01 type:ef payload:5 available:19
D (25977) CMUX: Payload frame: dlci:01 type:ef payload:6 available:8
E (26477) cmux_example: Failed to configure desired mode... exiting
D (26477) event: deleted loop 0x3fc95c50