fsp_plms_WatchdogControl()

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Control the watchdog functionality of PLMS

Synopsis:

#include <fsp/plms.h>

fsp_ResultType fsp_plms_WatchdogControl( fsp_plms_HandleType *plms_hdl,
                                         bool enable ); 

Arguments:

plms_hdl
The PLMS handle returned in fsp_plms_Connect().
enable
Boolean to enable or disable the watchdog functionality.

Library:

libplms

Use the -l plms option to qcc to link against this library.

Description:

The fsp_plms_WatchdogControl() call enables or disables the watchdog functionality in PLMS. If disabled, PLMS will not monitor the heartbeat of components. The PLMS binary heartbeat is not affected by this call. The caller must have the plms/control ability to use this call.

Returns:

Returns FSP_PLMS_STATUS_EOK on success, or FSP_PLMS_STATUS_FAIL on error and sets errno.

Errors:

ENOSYS
The resource manager ID is incorrect.
EBADMSG
The resource manager received an incomplete or combined client message.

Example:

fsp_plms_WatchdogControl(plms_hdl, false);
Page updated: