IMCInter Module Communication
v5.5.11

Logging Control

LoggingControl ID 102
Payload
≥ 3 bytes, variable
Packet
≥ 25 bytes
Source
vehicle, ccu
Category
Storage

Control logging of messages to persistent storage.

#Fields

Offset FieldTypeUnitRangeDescription
0 #opControl Operation uint8_t Enumerated –

Operation to perform.

0COP_REQUEST_STARTRequest Start of Logging

Request the logging manager to start logging. The logging manager will reply with a STARTED operation. If logging is already in progress the current log will be closed and a new one will be opened (therefore the logging manager will send two messages - STOPPED and STARTED). The field 'name' represents the label that will be appended to the log path.

1COP_STARTEDLogging Started

The logging manager will send a message with this operation everytime a log is successfully started. The field 'name' contains the complete name of the log.

2COP_REQUEST_STOPRequest Logging Stop

Request the logging manager to stop logging messages. The logging manager will reply with a STOPPED operation and logging will be suspended until a message with operation START is received. If logging is already stoppped the logging manager will ignore this operation and will not reply with a STOPPED operation. The field 'name' with this operation type has no meaning.

3COP_STOPPEDLogging Stopped

The logging manager will send a message with this operation when logging is successfully stopped. The field 'name' contains the complete name of the log that was closed.

4COP_REQUEST_CURRENT_NAMERequest Current Log Name

This operation instructs the logging manager to send a message with operation CURRENT_NAME containing the complete name of the current log in the field 'name'. The field 'name' with this operation type has no meaning.

5COP_CURRENT_NAMECurrent Log Name

The logging manager will send a message with this operation when asked via the REQUEST_CURRENT_NAME operation. The field 'name' contains the complete name of the log.

1 #nameLog Label / Path plaintext – –

The meaning of this field depends on the operation and is explained in the operation's description.