-
Notifications
You must be signed in to change notification settings - Fork 35
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
Problem with ESP.reset() #120
Comments
Hello bosoft-ESP,
Hoping this can help, regards. Stefano |
Hello String ssid = ""; // REPLACE mySSID WITH YOUR WIFI SSID void setup() {
} void loop() {
Answers in serial: 17:35:22.732 -> chksum 0x2e Thanks for your great work and for the answer Regards Edit: tested with version 3. Same result Translated with DeepL.com (free version) |
I'm sorry bosoft-ESP I forgot to say that the Here a working sketch:
Let me know if this solve the issue. Stefano EDIT: I tried it with a ESP8266 board, but the rule is still valid for the ESP32. |
That's it. Thank you very much for your help. Regards |
Hello
I have tried to implement a reset to an ESP01S via a telegram text message.
The function is:
`
On receiving 'RESET_ESP', it sends the message “RESET of the ESP received” and executes ESP.reset(). The problem is at startup. The ESP receives 'RESET_ESP' again and resets indefinitely, and there is no way to stop it. I have implemented this before resetting:
while (myBot.getNewMessage(msg)){
delay(1000);
msg.text = "";
}`
But it keeps receiving from telegram 'RESET_ESP'.
This last function I have also put it in the setup(), but it does not detect pending text. . The ESP is still receiving 'RESET_ESP'.
Any idea?
Regards
The text was updated successfully, but these errors were encountered: