7 Teleservice Application Framework
User Manual
202/374
Output Information
Return Value
Description
C_NO_ERR
Function executed without error, trigger time was activated successfully
C_COM
D-Bus communication error
C_UNKNOWN_ERR
NULL pointer error
C_RANGE
opcn_LogJobName is out of range
C_NOACT
Error occurred because the logger job name was invalid, trigger time interval is to
short, data logger configuration does not exist, DLC file is corrupt or logger already
exists
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ylogd_set_trigger_time (&mt_DBUS_Util, "TC3_Logger", 500);
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.6.2.6
ylogd_set_buffered_logging
Function Description
sint32 ylogd_set_buffered_logging (const T_DBUS_Util * const opt_DBusInstance, const charn
* const opcn_LogJobName, const uint32 ou32_LoggingBufferSize)
The function sets the number of records to buffer. All logging data will be sent to this buffer.
If the log is triggered with ylogd_trigger_bufferd_log (see "
buffered data will be placed in the log file, and then normal logging will continue.
When log job is activated, instead of creating a file, entries are stored in a ring buffer, replacing the oldest entry
when buffer is full. All normal log entry rules are in effect.
NOTE:
Log job activation will fail if the application is unable to allocate buffer memory.
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...