vshymanskyy / ESP32_PPPoS

PPP over Serial for ESP32
MIT License
26 stars 2 forks source link

It doesn't working on my TTGO T-Call at all #2

Open rezasaadat1 opened 2 years ago

rezasaadat1 commented 2 years ago

I tried this library for seamless AWS IoT connection, but it seems like not working at all, code is freezing at first Serial print command executed

balefr1 commented 2 years ago

Hi all, I've got the same situation. ESP TTGO Sim800L, it freezes at serial print "." because ppp.status() doesn't become true. There was a thread on espressif arduino-esp32 github repo about ppp and ESP and among the comments this example was attached by the owner (https://github.com/espressif/arduino-esp32/issues/1858#issuecomment-870883111) and It works quite well.

balefr1 commented 2 years ago

After just a bit of testing I'd add it works 1 time out of 10 +-, ppp.connect() returns 1 in both cases. When it works it breaks out of the ppp.status while loop in 4-5 seconds