7 Teleservice Application Framework
User Manual 226/374
Output Information
contains the path to the datalogger file copy
file was found, logger name fits and file pointer was set successfully
no file found or logger name is incorrect
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
holds all D-Bus information
maximum
MAX_DL_NAME_LENGTH
pointer to the name of the logger file
0 ... deletes just the temporary file
1 ... deletes both files, temporary an current data
logger file