EasyManua.ls Logo

STW TC1 - Page 168

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Teleservice Application Framework
User Manual 168/374
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
Return Value
Description
C_NO_ERR
Function executed without error, data pool was initialized successful
C_UNKNOWN_ERR
Error sending the method call or NULL pointer
C_COM
Error receiving the method call answer
C_NOACT
Error occurred because the data pool sub directory did not exist or the dpi-file
already existed
C_RANGE
Parameter out of range
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ydatad_init_datapool (&mt_DBUS_Util, "MyDatapool");
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.5.2.7 ydatad_delete_datapool
Function Description
sint32 ydatad_delete_datapool (const T_DBUS_Util *const opt_DBusInstance, charn * const
opcn_Datapool)
This function delete the data pool ocn_Datapool. The data pool is deleted and all resources are released,
regardless whether the data pool was initialized before or not

Table of Contents