Git Product home page Git Product logo

Comments (9)

david-cermak avatar david-cermak commented on May 29, 2024 1

SIMCOM support explained that CMUX is entered only once after start-up

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.

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 29, 2024

@david-cermak

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 29, 2024

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 ?

from esp-protocols.

MartinPatarinski avatar MartinPatarinski commented on May 29, 2024

This issue is also observed on our side. We do the following steps:
Enter Command mode
Enter CMux mode and and connect to internet successfully
Simulate disconnection event
Re-Enter command mode
Enter Data Mode and and connect to internet successfully
send AT command => does not work any more. Seems like the port is used for Data only instead of AT commands

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

from esp-protocols.

david-cermak avatar david-cermak commented on May 29, 2024

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.

This issue is also observed on our side. We do the following steps:

  1. Enter Command mode
  2. Enter CMux mode and and connect to internet successfully
  3. Simulate disconnection event
  4. Re-Enter command mode
  5. Enter Data Mode and and connect to internet successfully

@RilabsAutomotive about the step 5): Why entering Data mode here, if you wanted to use AT commands? Would it work if you enter CMUX mode?

from esp-protocols.

MartinPatarinski avatar MartinPatarinski commented on May 29, 2024

Right, so the re-entering in Data mode in step 5, we tried in order to retrigger the PPP to establish and authenticate.
SIMCOM support explained that CMUX is entered only once after start-up to create the virtual ports. Then we shall only switch between Command and Data mode in order to re-establish connection via PPP.

p.s. we tested that indeed enterring second time in CMUX fails. We receive "NO CARRIER" from SIMCOM at AT command ATD
p.s2. we tested also that if we enter Data mode the second time, the PPP connection is established and we receive IP Event and re-connect succefully. However, after that AT commands do not work and we can't control the SIMCOM.

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 29, 2024

SIMCOM support explained that CMUX is entered only once after start-up

Does that mean that your device doesn't support runtime exit of CMUX?

exit was possible, but re-Enter not. 

I'll try to think about how we can extend the interface and provide better control over these virtual terminals.

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 29, 2024

also the Topic is: if a PPPos Session on Data terminates, the Channel switch to command. (see initial Post above)

from esp-protocols.

david-cermak avatar david-cermak commented on May 29, 2024

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 CMUX -> CMD and back CMD -> CMUX (the first transition assures that the PPPoS graciously shutdowns on these devices)

from esp-protocols.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.