User Manual

39
Command format: Set
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Set ambient
hysteresis/oversample
0xFF
0x01
0xA2
0x6D
Hysteresis
Oversample
--
Response Format:
Byte number
1
2
3
4
Byte Definition
Sync
Addr
Faults
ChkSum
General Response
0xFF
0x01
--
--
5.1.8 Query Diagnostic information (0x6F)
This command returns CaMate’s temperature information, input voltage information, total system power
on time, total LED power on time, current ambient light, boot count, LED1~4 voltage, system error code,
out of range count.
5.1.8.1 Temperature of LED/MCU
Command format: Get
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Query temperature
0xFF
0x01
0x02
0x6F
0x00
0x00
--
Response Format:
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Resp1
Resp2
Data1
Data2
ChkSum
Extended Response
0xFF
0x01
LED
Max
LED
Current
MCU
Max
MCU
Current
--
Temperature value is in 2s complement.
Command format: Clear:
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Clear temperature
0xFF
0x01
0x82
0x6F
LED Max
MCU Max
--
Response Format:
Byte number
1
2
3
4
Byte Definition
Sync
Addr
Faults
ChkSum
General Response
0xFF
0x01
--
--
Set LED/MCU Max bit with 1 to clear max record