7 Teleservice Application Framework
User Manual 154/374
// expects to be triggered
charn acn_myCMDOnWatchdog[2048]; // Bash cmd that must be executed
// by the ysysd in case no
// trigger signal occurred in time.
} T_DBUS_Util;
Output Information
Function executed without error, the watchdog stopped successfully
Could not cancel the watchdog service from ysysd
Parameter opt_DBusInstance is a NULL pointer
The application was never registered with ysysd
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ysysd_cancel_watch_dog (&mt_DBUS_Util);
if (s32_Retval != C_NO_ERR)
{
// Handle error cases
}
7.3.4.5 ysysd_get_ignition_status
Function Description
sint32 ysysd_get_ignition_status (const T_DBUS_Util * const opt_DBusInstance)
Returns the current status of the ignition pin from the system daemon. It calls a method of the system daemon
via the D-Bus, requesting the current status of the ignition pin.
Information Flow
Input Information
holds all D-Bus information