7 Teleservice Application Framework
User Manual 192/374
Structure T_DBUS_Util
typedef struct
{
DBusConnection* pt_dbus_conn; // D-BUS connection instance
charn acn_myNameString[128]; // Name of the application, Don't use any
special
// characters, white spaces or new lines!
charn acn_myVersion[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myStatus[128]; // Additional value (for HELLO) signal (opt.)
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, job successfully created
Error occurs during sending the method call or NULL pointer
Error occurs during receiving the method call answer
Error occurs because logger job name or log file format invalid, basic sample
interval too short or logger job configuration already exists
Parameters are out of range
Logfile format description
ASCII_STD
Log File header:
----------------
LOGFILE_HEADER
LogFile;Test_Logger
LogFileFormat;1
Comment;Test log job for Test
MaxSize;10485760
Date+Time;22.11.11_13:30:53
FileInfo:
Timestamp:1
DP :00;Test
Lst:00;Engine
Var:00;EngineSpeed;Type:SINT32;Size:4;Unit:rpm
Var:01;InjectionQuantity;Type:SINT32;Size:4;Unit:mm3/H
Var:02;EnginePowerReserve;Type:SINT32;Size:4;UNIT:%
DATASTART