Synopsis:
CCwatchdog(port,alarm,timer_ms)
Arguments:
port – The logical E1/T1 port number.
alarm – The ID of the alarm to present.
timer_ms – The timeout in ms before the layer 1 alarm is presented
Description: This function maps to the following Aculab function:
ACU_ERR call_watchdog(WATCHDOG_XPARMS *watchp);
Once CCwatchdog() has been called with a timer (in milliseconds) and alarm code set, then the application must continue to call CCwatchdog() repeatedly thereafter to keep refreshing the watchdog timer. If CCwatchdog() is not called before the timer expires then the firmware will present the specified layer 1 alarm to the network.
To disable the watchdog timer simply set the timeout to 0.
Returns: This function returns 0 upon success or a negative error code.