Slow REST Calls with ppp GSM modem ppp #15632
Unanswered
ikholiavko
asked this question in
ESP32
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Hi everyone,
I'm currently working with an ESP32-S3 and an external GSM modem (A7670G) connected via UART. I've set up the connection using the following next:
dial ATD*99#
self.ppp = network.PPP(self.uart)
self.ppp.active(True)
self.ppp.connect()
self.ppp.ifconfig()
counter = 0
while not self.is_ppp_connected():
sleep(1)
Everything works almost as expected; however, I've noticed that my REST calls (using requests) are taking around 10-15 seconds to complete, which seems unusually slow.
I suspect the issue might be related to the LwIP stack, but I'm not entirely sure. Is there a need to configure anything in the ESP-IDF specifically for PPP to optimize this?
Has anyone else encountered similar issues or have any suggestions on how to resolve this? Any advice would be greatly appreciated!
MPY: v1.24.0
IDF: v5.2.2
Beta Was this translation helpful? Give feedback.
All reactions