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

Implementation of a "heartbeat". #13

Open
firew4lker opened this issue Feb 15, 2015 · 5 comments
Open

Implementation of a "heartbeat". #13

firew4lker opened this issue Feb 15, 2015 · 5 comments

Comments

@firew4lker
Copy link

Since the code can't interpret AT command originating from the UART, what is the best way for a microcontroller to check if the module is alive or frozen?

Maybe a mode that GPIO -2 toggles every couple o seconds or so?

The best scenario would be UART AT commands support. Is it even possible to implement support of AT command from the UART side?

@beckdac
Copy link
Owner

beckdac commented Dec 2, 2015

I see, so the unit attached to the ESP8266 wants to know if a destination is available?

@firew4lker
Copy link
Author

No, if the ESP8266 is ok. Eg. if it has frozen the microcontroller to be able to reset it.

@beckdac
Copy link
Owner

beckdac commented Dec 17, 2015

OK. How does the ESP8266 monitor the microcontroller? Lack of serial activity then it throws the GPIO pin?

@firew4lker
Copy link
Author

I mean the opposite. The microcontroller to monitor the ESP8266. If for example the ESP8266 stops toggling a GPIO then the mcu will know that the module is stuck and should be restarted.

I have notice that it fairly common for the "ebay tyoe" modules to freeze.

@beckdac
Copy link
Owner

beckdac commented Dec 20, 2015

OK.

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

No branches or pull requests

2 participants