-
Notifications
You must be signed in to change notification settings - Fork 26
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
AsyncTelegram2 hangs the uC, when "unable to connect to server" #118
Comments
Hi @miguelfernando55 . |
Thanks for your feedback, I will try to check after 20th August because I am going on vacation from next weekend |
Ok. Nice holidays. Hope you may upgrade the functionality. |
Is it able to use a flag that warns when the "unable to connect to server" happens? Or does bool checkConnection(); is enough? It would be good if we could question the telegram server if he is able to start a connection. Before really starting one. |
Hi @miguelfernando55 If you don't have an active internet connection, you should avoid calling the Checking the internet connection cannot be "internal" to the library because it is strictly linked to the hardware interface (WiFi, Ethernet, GPRS etctec). |
You are right. The esp32 may be connected to the router, but the router lost internet connection. It was because of this situation that the "unable to ...." happenned. |
Are you able to provide me a status variable when the connection is hanging? |
When it is not connected to the server, the uC hangs. It also should be async.
The text was updated successfully, but these errors were encountered: