ESP8266-transparent-bridge icon indicating copy to clipboard operation
ESP8266-transparent-bridge copied to clipboard

Implementation of a "heartbeat".

Open firew4lker opened this issue 10 years ago • 5 comments

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?

firew4lker avatar Feb 15 '15 15:02 firew4lker

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

beckdac avatar Dec 02 '15 05:12 beckdac

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

firew4lker avatar Dec 04 '15 14:12 firew4lker

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

beckdac avatar Dec 17 '15 02:12 beckdac

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.

firew4lker avatar Dec 17 '15 09:12 firew4lker

OK.

beckdac avatar Dec 20 '15 18:12 beckdac