You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aditya Patadia edited this page Mar 21, 2015
·
1 revision
BeagleBone has in-built watchdog functionality. The helper function provides way to enable or disable watchdog timer.
If the timer is enabled and the board becomes unresponsive for 60 seconds, it will automatically reboot.
startWatchdog(callback[err|null])
starts watchdog timer. callback first argument is 'verror' object or null
Example
varb=require('octalbonescript');//load the libraryb.startWatchdog(function(err){if(err){console.error(err.message);}});
stoptWatchdog(callback[err|null])
stops watchdog timer. callback first argument is 'verror' object or null
Example
varb=require('octalbonescript');//load the libraryb.stoptWatchdog(function(err){if(err){console.error(err);}});