PDA

View Full Version : WatchDog Hook


RFAndy
06-10-2010, 08:18 PM
Having a "Watchdog Hook" would solve our problem below. If the code, doesn't "kick the dog" on a regular time frame then the RF Engine would reset and go into a special loop but would stay online so Portal can access it. Also, it would notify Portal that something is wrong with this errant node. Otherwise, you will need to get out your serial cable and connect to the Uart1 to restore the node.

From the link: "Disappeared" and "Locked up" RF Engine Mesh Node unseen from Portal." :eek:
http://forums.synapse-wireless.com/showthread.php?t=871

Note: If a user writes a script with an infinite loop, the RF Engine might disappear and lockup and would not be seen by Portal. The only way to restore this errant mesh node is erase script or do a Factory Default or last do a firmware Upload to restore the errant mesh node.

Note: Having a "WatchDog Hook" would / might eliminate getting out the serial cable all together! :cool:

I would like to add that by having a "errant node" in the proposed "Watchdog Hook" adds to the reliability of the mesh network by allowing mesh re-transmission or hops. The only reason, in which a errant node should be shutdown, would be ONLY to a RF Engine hardware failure NOT software.