EasyManuals Logo

STW TC1 User Manual

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
Page #160 background imageLoading...
Page #160 background image
7 Teleservice Application Framework
User Manual 160/374
Output Information
Return Value
Description
C_NO_ERR
Function executed without error
C_UNKNOWN_ERR
Error sending the method call or null pointer
C_COM
Error receiving the method call answer
C_NOACT
Error occurs because data pool is already initialized or variable list already exists
C_RANGE
Parameters are out of range
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ydatad_create_variable_list (&mt_DBUS_Util, "MyDatapool", "GPSDates",
"Description", "MyApplication");
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.5.2.2 ydatad_add_variable_to_list
Function Description
sint32 ydatad_add_variable_to_list (const T_DBUS_Util const *const opt_DBusInstance, const
charn * const opcn_Datapool , const charn *const opcn_List, const charn * const opcn_Name,
const charn * const opcn_Type, const charn * const opcn_Size, const charn * const
opcn_Unit, const charn * const opcn_Comment)
The function adds a variable with the name opcn_Name of the type opcn_Type, the size opcn_Size to the
specified list opcn_List within the data pool opcn_Datapool. It's also possible to add a unit opcn_Unit and a
comment opcn_Comment to the variable declaration.
Information Flow
Input Information
Parameter
Range
Description
opt_DBusInstance
T_DBUS_Util
holds all D-BUS information
opcn_Datapool
maximum
MAX_DP_NAME_LENGTH
pointer to the data pool name

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish