7 Teleservice Application Framework
User Manual 196/374
charn acn_myAddInfo[512]; // Additional value (for HELLO) signal (opt.)
sint32 s32_myTriginterval; // Time interval when the ysysd
// 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
variable successfully added to the logger file (.dlc)
D-Bus communication error
NULL pointer error or wrong parameters
Error occurs because logger job, data pool, variable list or variable name is invalid,
received values are corrupt, data logger configuration does not exist or is corrupt
or logger already initialized
Parameters are out of range
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ylogd_add_log_variable (&mt_DBUS_Util, "TC3_Logger", "MyDatapool", "GPSDates",
"Longitude", 5);
if (s32_Retval == C_NO_ERR)
{
// Go on
}