mysensors / MySensors

MySensors library and examples
https://www.mysensors.org
1.32k stars 895 forks source link

Built-in handling of watchdog timer #1160

Open Avamander opened 6 years ago

Avamander commented 6 years ago

It would be nice if MySensors had built-in handling automatic of AVR watchdog timers. So that the user wouldn't have to deal with initialization, and resetting when using sleep(), send() and etc. Preferably this could be enabled with just one preprocessor flag.

Having the node let the controller know the device has encountered a fault would also be nice but that would require a new data type and explicit controller support, right?

flatsiedatsie commented 5 years ago

Could you elaborate on what MySensors does to the watchdog? After which commands is the watchdog disabled? And.. why does MySensors do this?

mfalkvidd commented 5 years ago

Ongoing discussion in https://forum.mysensors.org/topic/9946/watchdog-not-watchdogging/