This class defines the API for the DltObject.
#include <configitemdltobject.h>
◆ controlMessage_GetLogInfo
void controlMessage_GetLogInfo |
( |
| ) |
|
|
virtualslot |
This function sends a DLT control message "GetLogInfo" to the DUT (device under test). Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_GetLogInfo();
◆ controlMessage_GetSoftwareVersion
void controlMessage_GetSoftwareVersion |
( |
| ) |
|
|
virtualslot |
This function sends a DLT control message "GetSoftwareVersion" to the DUT. Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_GetSoftwareVersion();
◆ controlMessage_SetDefaultLogLevel
void controlMessage_SetDefaultLogLevel |
( |
int | log_level | ) |
|
|
virtualslot |
This function sends a DLT control message "SetDefaultLogLevel" to the DUT.
The possible LogLevel are defined as follow:
#define LOG_OFF 0
#define LOG_FATAL 1
#define LOG_ERROR 2
#define LOG_WARNING 3
#define LOG_INFO 4
#define LOG_DEBUG 5
#define LOG_VERBOSE 6
Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetDefaultLogLevel(1);
- Parameters
-
◆ controlMessage_SetDefaultTraceStatus
void controlMessage_SetDefaultTraceStatus |
( |
int | active | ) |
|
|
virtualslot |
This function sends a DLT control message "SetDefaultTraceStatus" to the DUT.
Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetDefaultTraceStatus(true);
- Parameters
-
◆ controlMessage_SetLogLevel
void controlMessage_SetLogLevel |
( |
QString | app, |
|
|
QString | con, |
|
|
int | log_level ) |
|
virtualslot |
This function sends a DLT control message "SetLogLevel" to the DUT.
The possible trace stati are defined as follow:
#define LOG_OFF 0
#define LOG_FATAL 1
#define LOG_ERROR 2
#define LOG_WARNING 3
#define LOG_INFO 4
#define LOG_DEBUG 5
#define LOG_VERBOSE 6
Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetLogLevel("APP1", "CON1", 3);
- Parameters
-
app | application id |
con | context id |
log_level | |
◆ controlMessage_SetTimingPackets
void controlMessage_SetTimingPackets |
( |
bool | enable | ) |
|
|
virtualslot |
This function sends a DLT control message "SetTimingPackets" to the DUT. Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetTimingPackets(true);
- Parameters
-
◆ controlMessage_SetTraceStatus
void controlMessage_SetTraceStatus |
( |
QString | app, |
|
|
QString | con, |
|
|
int | active ) |
|
virtualslot |
This function sends a DLT control message "SetTraceStatus" to the DUT.
Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetTraceStatus("APP1", "CON1", true);
- Parameters
-
app | application id |
con | context id |
active | true/false |
◆ controlMessage_SetVerboseMode
void controlMessage_SetVerboseMode |
( |
int | verbosemode | ) |
|
|
virtualslot |
This function sends a DLT control message "SetVerboseMode" to the DUT. Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_SetVerboseMode(true);
- Parameters
-
◆ controlMessage_StoreConfig
void controlMessage_StoreConfig |
( |
| ) |
|
|
virtualslot |
This function sends a DLT control message "StoreConfig" to the DUT.
Example:
dlt = so.configItem("Dlt1");
dlt.controlMessage_StoreConfig();