Class=1021 (0x03FD) - Class2 Level I Log



This class mirrors the CLASS1.LOG class but use a different data format with a GUID stored in the first 16 bytes of the data followed by the standard data thus offset with 16-bytes.

See CLASS2.PROTOCOL1 for more information on the data format.

Type=0 (0x00) - General event


Type=1 (0x01) - Log event

VSCP_TYPE_LOG_MESSAGEMessage for Log. Several frames have to be sent for a event that take up more the five bytes which is the maximum for each frame. In this case the zero based index (byte 2) should be increased for each frame. 
Byte Description
0 ID for event.
1 Log level for message.
2 Idx for this message.
3-7 Message.

Type=2 (0x02) - Log Start

VSCP_TYPE_LOG_STARTStart logging. 
Byte Description
0 ID for log.

Type=3 (0x03) - Log Stop

VSCP_TYPE_LOG_STOPStop logging. 
Byte Description
0 ID for log.

Type=4 (0x04) - Log Level

VSCP_TYPE_LOG_LEVELSet level for logging. 
Byte Description
0 ID for log byte 0 Log level.

Very Simple Control Protocol
Fri Oct 18 2019 07:14:02 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author.

results matching ""

    No results matching ""