-
Notifications
You must be signed in to change notification settings - Fork 136
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
Is there a way to send AT commands while keeping the connection, without using CMUX? (IDFGH-14106) #699
Comments
|
Thanks! With that patch, invoking |
It sends the corresponding AT commands, yes, but the mode stays the same. To test it, you need to switch to the data mode first. Then:
|
I see, thanks. About the discarded network data, I suppose data from the ESP host to the modem is discarded (but I could maybe workaround that with a lock), and data from the modem to the ESP will be buffered by the modem until I unpause (so when using TCP, no data loss should occur). |
1.3.0 Features - Add mode detection to the example (18f196f) - Support for pausing network in C-API (1db83cd) - Add support for pausing netif (247f168, espressif#699) Bug Fixes - Minor cleanup of pppos example (5e92990) - Fix PPP mode detection to accept LCP/conf (c989c6a) - Refine mode switch data->command (8b6ea33, espressif#692) - Detect serial ports properly (0cb59ff) - Fix CMUX enter to ignore URC before transition (1284f66, espressif#669)
Answers checklist.
General issue report
I'm using a Quectel MC60 modem. In CMUX mode, I can get Internet connectivity and simultaneously send AT commands (I need to periodically get signal quality). The problem is that now I am optimizing power consumption, and the modem refuses to enter sleep mode if CMUX is active, so I am forced to use DATA mode.
While in DATA mode, sending commands to the modem does not work, and if I momentarily try switching to COMMAND mode, the connection is immediately dropped. When many years ago I made my own modem drivers, I was able to momentarily switch to command mode (using the "+++" escape sequence), send the AT command, and return to DATA mode without interrupting the connection. Is this possible in any way?
TL;DR: Is there a way to get the signal quality (or send any other AT command) when using DATA mode, without interrupting the connectivity?
The text was updated successfully, but these errors were encountered: