Skip to content
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

How to run a webserver through GPRS using ESP32 #790

Open
lg007 opened this issue May 12, 2024 · 0 comments
Open

How to run a webserver through GPRS using ESP32 #790

lg007 opened this issue May 12, 2024 · 0 comments

Comments

@lg007
Copy link

lg007 commented May 12, 2024

[x ] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ ] Request to support a new module

[ ] Bug or problem compiling the library
[ ] Bug or issue with library functionality (ie, sending data over TCP/IP)
[x ] Question or request for help

What are you working with?

Modem: SIM800L
Main processor board: ESP32
TinyGSM version: 0.11.7
Code:

Scenario, steps to reproduce

I have a SIM card with a private APN. I would like to setup a webserver on port 80 through GPRS using the ESP32 (this webserver would be accesible only from those other endpoints that are within the private APN).
I have tried the simple webserver library for ESP32 and also the ESPAsyncWebSrv. Unfortunatelly both crashed after issuing the server.begin() command. Of course before starting the webserver I also waited until the gprs connection was started. Could anyone give me some hints on what am I doing wrong?
(This setup works well with other GRPS endpoints that run linux, like a raspberry with a SIM800L modem, so there is no problem with the APN setup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant