EasyManua.ls Logo

STW TC1 - Page 226

STW TC1
374 pages
Print Icon
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 226/374
Output Information
Parameter
Range
Description
opcn_DataLoggerPath
ou16_BufferSize
contains the path to the datalogger file copy
Return Value
Description
C_NO_ERR
file was found, logger name fits and file pointer was set successfully
C_CONFIG
no file found or logger name is incorrect
C_UNKNOWN_ERR
NULL pointer error
C_RANGE
Parameters out of range
Example
sint32 s32_Retval = C_NO_ERR;
charn acn_DLPath[500];
s32_Retval = ylogd_request_data_logger_file (&gt_dbus_util_child, opcn_DLName,
acn_DLPath[500], sizeof(acn_DLPath));
if (s32_Return == C_NO_ERR)
{
// Go on
}
7.3.6.4.2 ylogd_delete_log_file
Function Description
sint32 ylogd_delete_log_file (const T_DBUS_Util *const opt_DBusInstance, const charn * const
opcn_DataLoggerName, const uint8 ou8_DeleteAll)
The function deletes the logger opcn_DataLoggerName. The flag ou8_DeleteAll indicates if only the tmp file
shall be deleted (tmp file is the file which can be used for copying to server or to a extern flash via USB) or as
well the file in which the data will be actually logged.
Information Flow
Input Information
Parameter
Range
Description
opt_DBusInstance
T_DBUS_Util
holds all D-Bus information
opcn_DataLoggerName
maximum
MAX_DL_NAME_LENGTH
pointer to the name of the logger file
ou8_DeleteAll
0 ...1
0 ... deletes just the temporary file
1 ... deletes both files, temporary an current data
logger file

Table of Contents