types.h
// SPDX-License-Identifier: MIT
-
struct elosDltConnection
[source]
Parameter struct used to configure a new DLT connection.
-
char *socketPath
[source]
path to unix domain socket of DLT-Daemon
-
char *host
[source]
IP address or name of DLT-Daemon
-
char *pipePath
[source]
path to pipe of DLT-Daemon
-
int port
[source]
port the DLT-Daemon to connect to
-
int socketFd
[source]
file descriptor of active connection or -1 if not connected
-
int messageCount
[source]
count of messages transmitted by this connection
-
char ecuId[4]
[source]
used as ECU id in DLT log
-
char appId[4]
[source]
used as application id in DLT log
-
char contextId[4]
[source]
used as context id in DLT log
-
struct elosDltConnectionParam
[source]
Parameter struct used to configure a new DLT connection.
-
const char *ecuId
[source]
used as ECU id in DLT log
-
const char *appId
[source]
used as application id in DLT log
-
const char *contextId
[source]
used as context id in DLT log
-
struct elosDltConnectionParam_t
[source]
Parameter struct used to configure a new DLT connection.
-
const char *ecuId
[source]
used as ECU id in DLT log
-
const char *appId
[source]
used as application id in DLT log
-
const char *contextId
[source]
used as context id in DLT log
-
struct elosDltConnection_t
[source]
Parameter struct used to configure a new DLT connection.
-
char *socketPath
[source]
path to unix domain socket of DLT-Daemon
-
char *host
[source]
IP address or name of DLT-Daemon
-
char *pipePath
[source]
path to pipe of DLT-Daemon
-
int port
[source]
port the DLT-Daemon to connect to
-
int socketFd
[source]
file descriptor of active connection or -1 if not connected
-
int messageCount
[source]
count of messages transmitted by this connection
-
char ecuId[4]
[source]
used as ECU id in DLT log
-
char appId[4]
[source]
used as application id in DLT log
-
char contextId[4]
[source]
used as context id in DLT log
-
struct elosDltControlMessage
[source]
The protocol fragment introducing a DLT control message.
Note: only supported for connection types TCP and UNIX socket?
-
uint32_t serviceID
[source]
define the remote service to call
-
uint32_t length
[source]
-
struct elosDltControlMessage_t
[source]
The protocol fragment introducing a DLT control message.
Note: only supported for connection types TCP and UNIX socket?
-
uint32_t serviceID
[source]
define the remote service to call
-
uint32_t length
[source]
-
struct elosDltLogArgument
[source]
A DLT protocol fragment to define an serialized value to be logged
-
uint32_t typeInfo
[source]
define the type of value
-
uint16_t argSize
[source]
define the size of the value in bytes
-
uint16_t nameSize
[source]
the size of the name string for this value
-
char name[20]
[source]
the value name or key.
-
struct elosDltLogArgument_t
[source]
A DLT protocol fragment to define an serialized value to be logged
-
uint32_t typeInfo
[source]
define the type of value
-
uint16_t argSize
[source]
define the size of the value in bytes
-
uint16_t nameSize
[source]
the size of the name string for this value
-
char name[20]
[source]
the value name or key.
-
struct elosDltMessage
[source]
The header fragment of an DLT message.
Note: This assumes to always use the extended header
Bit field to define the anatomy of the header
-
uint8_t messageCount
[source]
sequence number of messages
-
uint16_t length
[source]
overall length of a message starting and including this header
-
char ecuId[4]
[source]
used as ECU id in DLT log
-
uint32_t sessionId
[source]
the process id of the process sending this messages
-
uint32_t monotonicTimestamp
[source]
time in nano sec since system start
-
uint8_t messageInfo
[source]
Bit field to define kind of a message (Request/Response,
message type, verbose)
-
uint8_t argCount
[source]
Number of arguments attached to this message
-
char appId[4]
[source]
used as application id in DLT log
-
char contextId[4]
[source]
used as context id in DLT log
-
struct elosDltMessage_t
[source]
The header fragment of an DLT message.
Note: This assumes to always use the extended header
Bit field to define the anatomy of the header
-
uint8_t messageCount
[source]
sequence number of messages
-
uint16_t length
[source]
overall length of a message starting and including this header
-
char ecuId[4]
[source]
used as ECU id in DLT log
-
uint32_t sessionId
[source]
the process id of the process sending this messages
-
uint32_t monotonicTimestamp
[source]
time in nano sec since system start
-
uint8_t messageInfo
[source]
Bit field to define kind of a message (Request/Response,
message type, verbose)
-
uint8_t argCount
[source]
Number of arguments attached to this message
-
char appId[4]
[source]
used as application id in DLT log
-
char contextId[4]
[source]
used as context id in DLT log
-
struct elosDltRegisterApplication_t
[source]
A DLT message to register a new application context.
The user message header
-
char appId[4]
[source]
used as new application id to be register
-
int32_t pid
[source]
the process id of the process sending this messages
-
uint32_t length
[source]
the length of the application description.
-
struct elosDltRegisterContext_t
[source]
A DLT message to register a context for an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to register a new context for
-
char contextId[4]
[source]
used as new context id to be registered
-
int32_t logLevelPosition
[source]
purpose currently unknown and unused for now
-
int8_t logLevel
[source]
initial log level for this context
-
int8_t traceStatus
[source]
set to 0; purpose currently unknown and unused
-
int32_t pid
[source]
the process id of the process sending this messages
-
uint32_t length
[source]
the length of the context description.
-
struct elosDltUnregisterApplication_t
[source]
A DLT message to unregister an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to be unregistered
-
int32_t pid
[source]
the process id of the process sending this messages
-
struct elosDltUnregisterContext_t
[source]
A DLT message to unregister a context for an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to unregister a new context for
-
char contextId[4]
[source]
used as new context id to be unregistered
-
int32_t pid
[source]
the process id of the process sending this messages
-
struct elosDltUserMessage
[source]
The protocol fragment introducing a DLT user message.
Note: only supported for connection type pipe?
-
char magicNumber[4]
[source]
magic identifier to determine message start, shall be
[‘D’, ‘U’, ‘H’, 0x01]
-
elosDltUserMessageTypeE_t type
[source]
the message type which follows.
-
enum elosDltUserMessageTypeE
[source]
Types of DLT user messages currently supported.
-
enum elosDltUserMessageTypeE_t
[source]
Types of DLT user messages currently supported.
-
struct elosDltUserMessage_t
[source]
The protocol fragment introducing a DLT user message.
Note: only supported for connection type pipe?
-
char magicNumber[4]
[source]
magic identifier to determine message start, shall be
[‘D’, ‘U’, ‘H’, 0x01]
-
elosDltUserMessageTypeE_t type
[source]
the message type which follows.
-
struct elosDltgRegisterApplication_t
[source]
A DLT message to register a new application context.
The user message header
-
char appId[4]
[source]
used as new application id to be register
-
int32_t pid
[source]
the process id of the process sending this messages
-
uint32_t length
[source]
the length of the application description.
-
struct elosDltgRegisterContext
[source]
A DLT message to register a context for an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to register a new context for
-
char contextId[4]
[source]
used as new context id to be registered
-
int32_t logLevelPosition
[source]
purpose currently unknown and unused for now
-
int8_t logLevel
[source]
initial log level for this context
-
int8_t traceStatus
[source]
set to 0; purpose currently unknown and unused
-
int32_t pid
[source]
the process id of the process sending this messages
-
uint32_t length
[source]
the length of the context description.
-
struct elosDltgUnregisterApplication_t
[source]
A DLT message to unregister an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to be unregistered
-
int32_t pid
[source]
the process id of the process sending this messages
-
struct elosDltgUnregisterContext
[source]
A DLT message to unregister a context for an existing application context.
The user message header
-
char appId[4]
[source]
used as application id to unregister a new context for
-
char contextId[4]
[source]
used as new context id to be unregistered
-
int32_t pid
[source]
the process id of the process sending this messages