-
Notifications
You must be signed in to change notification settings - Fork 142
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
more Control over CMUX virtual Channels (IDFGH-8559) #168
Comments
other Question: is there a way to pro-actively shut down the DataMode (PPP Session) on one Channel without leaving CMUX, and again enter Data mode later ? |
This issue is also observed on our side. We do the following steps: So after we enter CMUX mode, we need to have control over the 2 ports in order to be able to switch between Command and Data mode |
That was the original design, but was simplified in f3ff98b to automatically maintain DATA mode in one virtual terminal when in CMUX. I would like to provide more control of the individual terminals in CMUX, but that would complicate the API. I think the main reason for using this auto CMUX mode was, that for the devices I tested seamlessly exited (all possible) data mode(s) when closing CMUX mode.
@RilabsAutomotive about the step |
Right, so the re-entering in Data mode in step 5, we tried in order to retrigger the PPP to establish and authenticate. p.s. we tested that indeed enterring second time in CMUX fails. We receive "NO CARRIER" from SIMCOM at AT command ATD |
Does that mean that your device doesn't support runtime exit of CMUX? I'll try to think about how we can extend the interface and provide better control over these virtual terminals. |
exit was possible, but re-Enter not.
|
also the Topic is: if a PPPos Session on Data terminates, the Channel switch to command. (see initial Post above) |
Good point, thanks! Will have to do something about re-entering the DATA mode if it spontaneously exits. On my devices it's usually enough to transition |
the Issue
#167
was about enter CMUX and leave CMUX.
but this was not the right Question. Or at least not getting to the point too much.
if we enter CMUX Mode we can have up to 5 Virtual Channels according to CMUX Spec.
as i understood, ESP-Modem does establish 2 channels, 1 AT Channel, and one Data Channel.
but now
+PPP disconnect
comes in as a URC, then this cannel is in command mode.so we now have 2 Channels in Command mode.
so
The text was updated successfully, but these errors were encountered: