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 (>_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
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...