automotive-dlt
dlt_types.h File Reference
#include <stdint.h>
Include dependency graph for dlt_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef float float32_t
 
typedef double float64_t
 

Enumerations

enum  DltReturnValue {
  DLT_RETURN_LOGGING_DISABLED = -7, DLT_RETURN_USER_BUFFER_FULL = -6, DLT_RETURN_WRONG_PARAMETER = -5, DLT_RETURN_BUFFER_FULL = -4,
  DLT_RETURN_PIPE_FULL = -3, DLT_RETURN_PIPE_ERROR = -2, DLT_RETURN_ERROR = -1, DLT_RETURN_OK = 0,
  DLT_RETURN_TRUE = 1
}
 
enum  DltLogLevelType {
  DLT_LOG_DEFAULT = -1, DLT_LOG_OFF = 0x00, DLT_LOG_FATAL = 0x01, DLT_LOG_ERROR = 0x02,
  DLT_LOG_WARN = 0x03, DLT_LOG_INFO = 0x04, DLT_LOG_DEBUG = 0x05, DLT_LOG_VERBOSE = 0x06,
  DLT_LOG_MAX
}
 
enum  DltFormatType {
  DLT_FORMAT_DEFAULT = 0x00, DLT_FORMAT_HEX8 = 0x01, DLT_FORMAT_HEX16 = 0x02, DLT_FORMAT_HEX32 = 0x03,
  DLT_FORMAT_HEX64 = 0x04, DLT_FORMAT_BIN8 = 0x05, DLT_FORMAT_BIN16 = 0x06, DLT_FORMAT_MAX
}
 
enum  DltTraceStatusType { DLT_TRACE_STATUS_DEFAULT = -1, DLT_TRACE_STATUS_OFF = 0x00, DLT_TRACE_STATUS_ON = 0x01, DLT_TRACE_STATUS_MAX }
 
enum  DltNetworkTraceType {
  DLT_NW_TRACE_IPC = 0x01, DLT_NW_TRACE_CAN = 0x02, DLT_NW_TRACE_FLEXRAY = 0x03, DLT_NW_TRACE_MOST = 0x04,
  DLT_NW_TRACE_RESERVED0 = 0x05, DLT_NW_TRACE_RESERVED1 = 0x06, DLT_NW_TRACE_RESERVED2 = 0x07, DLT_NW_TRACE_USER_DEFINED0 = 0x08,
  DLT_NW_TRACE_USER_DEFINED1 = 0x09, DLT_NW_TRACE_USER_DEFINED2 = 0x0A, DLT_NW_TRACE_USER_DEFINED3 = 0x0B, DLT_NW_TRACE_USER_DEFINED4 = 0x0C,
  DLT_NW_TRACE_USER_DEFINED5 = 0x0D, DLT_NW_TRACE_USER_DEFINED6 = 0x0E, DLT_NW_TRACE_USER_DEFINED7 = 0x0F, DLT_NW_TRACE_MAX
}
 
enum  DltUserLogMode {
  DLT_USER_MODE_UNDEFINED = -1, DLT_USER_MODE_OFF = 0, DLT_USER_MODE_EXTERNAL, DLT_USER_MODE_INTERNAL,
  DLT_USER_MODE_BOTH, DLT_USER_MODE_MAX
}
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt_types.h.

Typedef Documentation

typedef float float32_t

Definition at line 178 of file dlt_types.h.

typedef double float64_t

Definition at line 179 of file dlt_types.h.

Enumeration Type Documentation

Definitions of DLT Format

Enumerator
DLT_FORMAT_DEFAULT 

no sepecial format

DLT_FORMAT_HEX8 

Hex 8

DLT_FORMAT_HEX16 

Hex 16

DLT_FORMAT_HEX32 

Hex 32

DLT_FORMAT_HEX64 

Hex 64

DLT_FORMAT_BIN8 

Binary 8

DLT_FORMAT_BIN16 

Binary 16

DLT_FORMAT_MAX 

maximum value, used for range check

Definition at line 118 of file dlt_types.h.

Definitions of DLT log level

Enumerator
DLT_LOG_DEFAULT 

Default log level

DLT_LOG_OFF 

Log level off

DLT_LOG_FATAL 

fatal system error

DLT_LOG_ERROR 

error with impact to correct functionality

DLT_LOG_WARN 

warning, correct behaviour could not be ensured

DLT_LOG_INFO 

informational

DLT_LOG_DEBUG 

debug

DLT_LOG_VERBOSE 

highest grade of information

DLT_LOG_MAX 

maximum value, used for range check

Definition at line 102 of file dlt_types.h.

Definitions for dlt_user_trace_network/DLT_TRACE_NETWORK() as defined in the DLT protocol

Enumerator
DLT_NW_TRACE_IPC 

Interprocess communication

DLT_NW_TRACE_CAN 

Controller Area Network Bus

DLT_NW_TRACE_FLEXRAY 

Flexray Bus

DLT_NW_TRACE_MOST 

Media Oriented System Transport Bus

DLT_NW_TRACE_RESERVED0 
DLT_NW_TRACE_RESERVED1 
DLT_NW_TRACE_RESERVED2 
DLT_NW_TRACE_USER_DEFINED0 
DLT_NW_TRACE_USER_DEFINED1 
DLT_NW_TRACE_USER_DEFINED2 
DLT_NW_TRACE_USER_DEFINED3 
DLT_NW_TRACE_USER_DEFINED4 
DLT_NW_TRACE_USER_DEFINED5 
DLT_NW_TRACE_USER_DEFINED6 
DLT_NW_TRACE_USER_DEFINED7 
DLT_NW_TRACE_MAX 

maximum value, used for range check

Definition at line 145 of file dlt_types.h.

Definitions of DLT return values

Enumerator
DLT_RETURN_LOGGING_DISABLED 
DLT_RETURN_USER_BUFFER_FULL 
DLT_RETURN_WRONG_PARAMETER 
DLT_RETURN_BUFFER_FULL 
DLT_RETURN_PIPE_FULL 
DLT_RETURN_PIPE_ERROR 
DLT_RETURN_ERROR 
DLT_RETURN_OK 
DLT_RETURN_TRUE 

Definition at line 86 of file dlt_types.h.

Definitions of DLT trace status

Enumerator
DLT_TRACE_STATUS_DEFAULT 

Default trace status

DLT_TRACE_STATUS_OFF 

Trace status: Off

DLT_TRACE_STATUS_ON 

Trace status: On

DLT_TRACE_STATUS_MAX 

maximum value, used for range check

Definition at line 133 of file dlt_types.h.

This are the log modes.

Enumerator
DLT_USER_MODE_UNDEFINED 
DLT_USER_MODE_OFF 
DLT_USER_MODE_EXTERNAL 
DLT_USER_MODE_INTERNAL 
DLT_USER_MODE_BOTH 
DLT_USER_MODE_MAX 

maximum value, used for range check

Definition at line 168 of file dlt_types.h.