Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.5 KB

class2.level1.log.md

File metadata and controls

50 lines (36 loc) · 1.5 KB

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

CLASS2.LEVEL1.LOG

Description

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 {#type0}

VSCP_TYPE_LOG_GENERALGeneral Event.

Type=1 (0x01) - Log event {#type1}

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 {#type2}

VSCP_TYPE_LOG_STARTStart logging. 
Byte Description
0 ID for log.

Type=3 (0x03) - Log Stop {#type3}

VSCP_TYPE_LOG_STOPStop logging. 
Byte Description
0 ID for log.

Type=4 (0x04) - Log Level {#type4}

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

{% include "./bottom_copyright.md" %}