-
Notifications
You must be signed in to change notification settings - Fork 160
cmux_example: Failed to configure multiplexed command mode... exiting (IDFGH-8886) #187
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
Comments
@jgus The issue you referenced was fixed for SIM800 device which apparently send additional messages, that we misinterpreted as CMUX close.
I can only suggest enabling verbose logging and sharing results, but see that the esp-protocols/components/esp_modem/src/esp_modem_dce.cpp Lines 124 to 125 in 457f833
Could you please increase the delay to say 500ms? Another way to try to debug it is to run the console example and use the manual CMUX commands. We've recently introduced commands like
and then set the manual CMUX transition
|
I've tried to test CMUX mode with SIM7000 and couldn't get it to work, it replies with I'll add a brief documentation about the known issues of certain devices, as we've already experienced some problems and limitations with some modems. |
The note about this device has been added to the docs: esp-protocols/docs/esp_modem/en/README.rst Line 199 in 0c6bb4b
|
Uh oh!
There was an error while loading. Please reload this page.
I'm unable to get the
simple_cmux_client
example (or my own code) working in CMUX mode.Command and data modes work fine (both in examples and in my own code) but CMUX mode refuses to work.
My issue looks similar to #140, but where that appears to be resolved, I'm seeing this issue in the latest master branch.
I'm using ESP-IDF v5.0, and the latest master branch (457f833).
My target device is a LilyGO T-SIM7000G 20200415 (https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G/blob/master/Historical/SIM7000G_20200415/README.MD) with a SIM7000G modem and an ESP-WROVER-E processor. I've set pins appropriately for my device (TX 27, RX 26, RTS & CTS -1, no flow control) and I've verified I can communicate with the modem. Command and data modes work fine and I can successfully communicate over the internet in data mode.
When running the CMUX sample (or trying myself in my own code) the call to
dce->set_mode(esp_modem::modem_mode::CMUX_MODE)
fails.Anything I can add to help debug this issue, please let me know.
Verbose log follows:
The text was updated successfully, but these errors were encountered: