Git Product home page Git Product logo

Comments (11)

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 30, 2024

@david-cermak my main Question is:
is this working with other Modems and ESP-Modem ?
so must we check more on ESP-Modem side, or more on Simcom side ?

from esp-protocols.

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

I've tested that on SIM7600 and BG96 and it seems to be working.

Also from what I see in the logs, it's also working for you if you enable verbose logging (log2.txt, there's an ERROR reply from the modem in one place, but that's expected as we've already entered data mode in the previous step and that step is ignored)
Maybe it's failing due to some timing condition for your device. Does it work if you add say 200ms delay between switching modes?

from esp-protocols.

franz-ms-muc avatar franz-ms-muc commented on May 30, 2024
I (00:00:29.485) esp-netif_lwip-ppp: User interrupt
I (00:00:29.486) esp_modem_netif: PPP state changed event 5
Modem has correctly entered command mode
E (00:00:40.655) cmux_example: Failed to configure multiplexed command mode... exiting

from esp-protocols.

franz-ms-muc avatar franz-ms-muc commented on May 30, 2024

so in INFO Log Level not working. added 1 Second Sleep ...

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 30, 2024

log3.txt
in Verbose mode same, 1 s delay not helping anything !

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 30, 2024

image

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 30, 2024

Question:

do you need to stop the netif and start the netif again ? 

@david-cermak

from esp-protocols.

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

Question:

do you need to stop the netif and start the netif again ? 

No need to do that, that should work automatically. I think I'll order SIM7070 and test it.

from esp-protocols.

diplfranzhoepfinger avatar diplfranzhoepfinger commented on May 30, 2024

Question:
do you need to stop the netif and start the netif again ?

No need to do that, that should work automatically. I think I'll order SIM7070 and test it.

yes, that would be most great. 

then we are on the same Page.

from esp-protocols.

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

Note that if reconnecting to PPPoS fails with NO CARRIER or similar, it usually helps to hang-up the current connection by sending ATH\r (will try to incorporate this to some retry mechanism in this library)

from esp-protocols.

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

Closing as this has been fixed in #169

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.