v1. 1
1. Network communication physical layer
2. Wireless communication protocol
2.2.1 relay board passthrough command 0xC001
2.2.2 custom content passthrough command 0xC002
2.2.3 RS485 passthrough command 0xC003
2.2.11 IFTTT functional configuration commands 0xC011
2.2.12 PC download custom content command 0xC012
2.2.13 Delete IFTTT parameters command 0xC013
2.2.14 to delete the contents of the PC download custom command 0xC014
2.2.21 is read IFTTT Function Configuration Commands 0xC021
2.2.22 is reading the contents of the PC download custom command 0xC022
2.2.23 is the read command switch 0xC023
2.2.24 reads the analog command 0xC024
2.2.25 reads the temperature value of the command 0xC025
2.2.26 IFTTT running status report command 0xC026
2.2.31 is the main control board setting command parameter 0xC031
2.2.32 time synchronization command 0xC032
2.2.33 is turned on / off automatic reporting command 0xC033
2.2.34 is read parameter command MPU 0xC034
2.2.41 is the automatic reporting command switch 0xC041
2.2.42 is automatically reported to the analog command 0xC042
2.2.43 automatically reported temperature value command 0xC043
The physical layer of the protocol is wired network communication. The KC868-COL series device acts as a server.
The transmission data adopts network byte order. The basic data format is defined as follows:
- data header: 44 bytes
- data payload: n bytes
The data header is defined as follows:
- mark bit: 0x5E (1 byte)
- version number: 0x01 (1 byte)
- message type: used to distinguish data or instruction type (see message type definition) (2 bytes)
- data length: the length of the data payload excluding the header part (2 bytes)
- device ID: serial number of the device ( string length does not exceed 28 bytes )
- extended data: varies according to the message type (up to 10 bytes)
The communication protocol uses little endian mode. When the data is larger than 1 byte, the high bit of the data is placed in the high address.
The data uses hexadecimal.
The function code is 1 byte and is used to select a command (read, write, response, etc.).
Function code (host request) | Function code (slave response) | meaning |
---|---|---|
0xC001 | 0xC001 | relay board transparent transmission command |
0xC002 | 0xC002 | RS232 transparent transmission command |
0xC003 | 0xC003 | RS485 transparent transmission command |
0xC011 | 0xC011 | IFTTT function configuration command |
0xC012 | 0xC012 | PC download custom content command |
0xC021 | 0xC021 | read IFTT function configuration command |
0xC022 | 0xC022 | Read command to download custom content from upper computer |
0xC023 | 0xC023 | Read switch command |
0xC024 | 0xC024 | Read analog command |
0xC025 | 0xC025 | Read temperature value command |
0xC031 | 0xC031 | Main control board parameter setting command |
0xC032 | 0xC032 | Time synchronization command |
0xC033 | 0xC033 | Turn on / off automatic reporting commands |
Every function code is explained in detail below.
This command is a transparent transmission command, and the slave computer forwards the command of the upper computer control relay board.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x01 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
N | data payload | control relay commands | 0x00 |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x01 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
N | data payload | control relay response | 0x00 |
This command is a transparent transmission command, and the slave machine forwards the customized content of the host computer to RS232 or RS485.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x02 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | output direction | 1/0 ( 232/485 ) |
N-1 | data payload | custom content | 0x00 |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x0 2 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
N | data payload | answer | 0x00 |
This command is a transparent transmission command, and the slave computer forwards the host computer RS485 command.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x0 3 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
N | data payload | Control RS485 commands | 0x00 |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x03 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
N | data payload | Control RS485 response | 0x00 |
-
Each condition parameter is 6 bytes. Each output action is 3 bytes. Each function has up to 10 conditions, and up to 50 action outputs. Therefore, each can occupy a space of (610+350)=210 bytes.
-
The microcontroller has 48K RAM. 50 IFTTT functions require 50 * 210 bytes ~= 10K . Therefore, it supports up to 50 IFTTT functions.
-
Download one at a time.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x11 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | IFTTT function configuration number | 0x00 ( 1~50 ) |
1 | number of conditions | M ( 1~10 ) | |
1 | then number | K ( 1~50 ) | |
1 | IFTTT runs | 0x00 | |
6 | condition 1 parameters | ||
6 | condition 2 parameters | ||
( M-2 ) *6 | ... | remaining condition type parameters | |
3 | then1 parameters | ||
3 | then2 parameters | ||
( K-2 ) *3 | ... | remaining then parameters |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x11 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | operation result | 1/0 =1 , success =0 , failed, data is full |
The condition type is resolved as follows:
There are 4 types of conditions, the type codes are ( 0x01 , 0x02 , 0x03 , 0x04 ), each type is 6 bytes.
Timing work type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x01 | |
1 | week cycle | 0x7F | Each represents one day =7F means Monday to Sunday Bit0 represents Monday |
1 | 24 o'clock | 0x07 | |
1 | minute | 0x0a | Time 7:10 |
2 | reserved |
Switch input type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x02 | |
1 | switch number | 0x01 (The first switch value) | number range 1~16 |
1 | State hold time | 0x02 | Keep 200ms , maximum 25 seconds |
1 | trigger action | 0x0/0x01 | =0 , means rising edge =1 , means falling edge |
2 | reserved |
Analog input type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x03 | |
1 | analog number | 0x01 (The first analog quantity) | Number range 1~16 |
1 | State hold time | 0x02 | Keep 200ms , maximum 25 seconds |
1 | triggering conditions | 0x01/0x02 | =1 , means the analog quantity is greater than or equal to the threshold =2 , indicating that the analog quantity is less than the threshold |
2 | trigger threshold | 0x64 (low byte) 0x00 (high byte) |
100=1.00V , reserve 2 valid digits |
Temperature sensor type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x04 | |
1 | temperature sensor number | 0x01 (the first sensor quantity) | Number range 1~5 |
1 | state hold time | 0x02 | Keep 200ms , maximum 25 seconds |
1 | triggering conditions | 0x01/0x02 | =1 , means the analog quantity is greater than or equal to the threshold =2 , indicating that the analog quantity is less than the threshold |
2 | trigger threshold | 0x64 (low byte) 0x00 (high byte) |
100=1.00V , reserve 2 valid digits |
The output function type is resolved as follows:
There are 3 types of Then output, the type codes are ( 0x11 , 0x12 , 0x13 ), each type has 3 bytes.
Time delay type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x11 | |
2 | time | 0x05 (low byte) 0x00 (high byte) |
delay 5 seconds, maximum 65535 seconds |
Relay output type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x12 | |
1 | relay number | 0x01 | the first relay |
1 | action | 2/1/0 | =2 , means flip =1 , means open =0 , means closed |
Custom content output type
byte | meaning | instance | parsing |
---|---|---|---|
1 | type code | 0x13 | |
1 | custom content number | 0x01 | custom content of number 1 range ( 1~32 ) |
1 | output direction | 0x00 | =0 , RS232 =1 , RS485 |
-
The host computer downloads the customized content to the main control board as an action task, waiting for the condition to trigger the output.
-
The maximum length of each custom content is 120 bytes, the minimum is 1 byte, and the maximum is 32.
-
Download one at a time.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x12 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | content number | 0x00 |
1 | content length | 0x00 | |
n-2 | custom content | 0x00 |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x12 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | operation result | 1/0 =1 , success =0 , failed, data is full |
-
Delete IFTTT parameter. You can delete one or all.
-
The number range is 1~50. The response fails when it exceeds the range.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x13 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | IFTTT function number | 0x0 1 (delete one of 1~50 ) 0xFF (delete all) |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x13 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | operation result | 1/0 =1 , success =0 , failed, the number is out of range |
-
Delete the custom content data downloaded by the upper computer, you can delete one or all.
-
The number range is 1~32 , and the response fails if it exceeds the range.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x14 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | content number | 0x01 (delete one of 1~32 ) 0xFF (delete all) |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x14 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | operation result | 1/0 =1 , success =0 , failed, the number is out of range |
-
The upper computer reads the IFTTT function configuration parameters. It reads one function parameter at a time, starting from the number 1. If there is no corresponding IFTTT function configuration, the response operation result is 0.
-
IFTTT function configuration is up to 50.
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x21 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | IFTTT function configuration number | 0x01 (the first number) |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x21 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | operation result | 0x01/0x00 (success / failure) |
1 | total number of IFTTT functions | 0x00 | |
1 | IFTTT function configuration number | 0x00 ( 1~50 ) | |
1 | number of conditions | M ( 1~10 ) | |
1 | then number | K ( 1~50 ) | |
1 | then times | ||
6 | condition 1 parameters | ||
6 | condition 2 parameters | ||
( M-2 ) *6 | ... | remaining condition type parameters | |
3 | then1 parameters | ||
3 | then2 parameters | ||
( K-2 ) *3 | ... | the remaining Then parameters |
-
The upper computer reads the upper computer to download the custom content parameters, and reads one parameter at a time, starting with number 1. If there is no corresponding number, the response operation result is 0.
-
The maximum length of each custom content is 120 bytes, the minimum is 1 byte, and the maximum is 32.
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x22 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | IFTTT function configuration number | 0x01 (the first number) |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x22 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | operation result | 0x01/0x00 (success / failure) |
1 | total content | 0x00 | |
1 | content number | 0x00 | |
1 | content length | 0x00 | |
N-4 | custom content | 0x00 |
-
The host computer reads the switch value, and it can read 1 or 16 channels at a time.
-
Number 1 means to read the switch value of channel 1 , and the slave returns 1 group of data ( 1 byte).
-
No. 255 means to read all channel switch values, and the slave returns 16 groups of data ( 16 bytes).
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x23 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0x01 = (first 1 channels) 0x10 (the 16th channel) 0xFF (all 16 channels) |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x23 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0x01 = (first 1 channels) 0x10 (the 16th channel) 0xFF (all 16 channels) |
1 | data payload | switch | 0x01/0x00 (on / off) |
-
The upper computer reads the analog value, and it can read 1 or 16 channels at a time.
-
No. 1 , means to read the analog quantity of channel 1 , and the slave returns 1 group of data ( 2 bytes).
-
No. 255 , which means to read all channel analogs, and the slave returns 16 groups of data ( 32 bytes).
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x24 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0x01 = (first 1 channels) =0x10 (the 16th channel) 0xFF (all 16 channels) |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x24 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0x01 = (first 1 channels) =0x10 (the 16th channel) =0xFF (all 16 channels) |
2 | value | 0x00 (low byte) 0x00 (high byte) |
-
The upper computer reads the value of the temperature sensor. It can read 1 or 5 channels at a time.
-
Number 1 , which means to read the temperature value of channel 1 , and the slave returns 1 group of data ( 2 bytes).
-
The number 255 means that the temperature values of all channels are read, and the slave returns 5 sets of data ( 10 bytes).
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x25 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | analog number | 0x01 = (first 1 channels) =0x04 (the 4th channel) =0xFF (all 5 channels) |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x25 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0x01 = (first 1 channels) =0x04 (the 4th channel) =0xFF (all 5 channels) |
2 | value | 0x00 (low byte) 0x00 (high byte) |
- Get IFTTT T operating state, a bar IFTTT time function satisfies all the conditions, state 1 , i.e. in the running Then , the state is 1. Otherwise, the state is 0.
2 . IFTTT operating state changes, equipment actively reports.
3 . Each represents an IFTTT , ie . 7 bytes . 5 0 th bit representatives . 5 0 th IFTTT.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x26 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | IFTTT status | 0x00 (No. 1~ 8 IFTT ) 0x01 represents the number 1 IFTTT is in Then state |
1 | data payload | IFTTT stauts | 0x00 (No. 9 ~ 16 IFTTT ) |
1 | data payload | IFTTT stauts | 0x00 (No. 17 ~ 24 IFTTT ) |
1 | data payload | IFTTT stauts | 0x00 (No. 25 ~ 32 IFTTT ) |
1 | data payload | IFTTT stauts | 0x00 (No. 33 ~ 40 IFTTT ) |
1 | data payload | IFTTT stauts | 0x00 (No. 41 ~ 48 IFTTT ) |
1 | data payload | IFTTT stauts | 0x00 (No. 49 ~ 50 IFTTT ) |
High 6bit is invalid
-
Actively report the temperature when the temperature change exceeds the threshold.
-
If the analog quantity change exceeds the threshold, it will actively report the analog quantity.
-
The time unit is second, the maximum is 65535 seconds.
-
The temperature change threshold is 5000=50.00 degrees Celsius, and the analog value change threshold is 200=2.50V.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x31 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
2 | data payload | Temperature change threshold | 0x00 (low byte) 0x00 (high byte) |
2 | data payload | analog quantity change threshold | 0x00 (low byte) 0x00 (high byte) |
2 | data payload | time reporting | 0x00 (low byte) 0x00 (high byte) |
2 | data payload | reserved | 0x00 |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x31 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
The upper computer is connected to the main control board for time synchronization.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x32 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | year | 0x00 ( 2 digits after the year ) |
1 | month | 0x00 | |
1 | day | 0x00 | |
1 | time | 0x00 | |
1 | minute | 0x00 | |
1 | second | 0x00 |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x32 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare |
Whether the upper computer setting is automatically reported.
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x33 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
1 | data payload | features |
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x33 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
The upper computer reads the temperature change threshold of the control board, the analog change threshold, and reports the switch time and clock regularly.
Clock format 0x19 0x03 0x11 0x05 0x04 0x03 =2019/03/11 5:04:03
byte | meaning | example |
---|---|---|
1 | mark bit | 0x5E |
1 | version number | 0x01 |
2 | message type | 0x34 (low byte) 0xC0 (high byte) |
2 | message length | N (low byte) N>>8 (high byte) |
38 | spare | 0x00 |
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x34 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
2 | data payload | Temperature change threshold | 0x00 (low byte) 0x00 (high byte) |
2 | analog quantity change threshold | 0x00 (low byte) 0x00 (high byte) |
|
2 | time reporting | 0x00 (low byte) 0x00 (high byte) |
|
6 | Date + time | 0x00 | |
1 | actively report the flag | 0x01/0x00 ( open / close ) | |
3 | version number V1.0.2 | 0x02 0x00 0x01 |
- The switch reports regularly, and the 16 channels report together.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x41 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0xFF (all 16 channels) |
16 | switch | 0x01/0x00 (on / off) |
- When the analog quantity change exceeds the threshold, 16 channels will be reported together.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x42 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0xFF (all 16 channels) |
2 | value | 0x00 (low byte) 0x00 (high byte) |
- When the analog quantity change exceeds the threshold, all 5 channels are reported together.
byte | meaning | example | |
---|---|---|---|
1 | mark bit | 0x5E | |
1 | version number | 0x01 | |
2 | message type | 0x43 (low byte) 0xC0 (high byte) |
|
2 | message length | N (low byte) N>>8 (high byte) |
|
38 | spare | 0x00 | |
1 | data payload | analog number | 0xFF (all 5 channels) |
2 | value | 0x00 (low byte) 0x00 (high byte) |
When performing certain operations, the target device needs to perform certain operations to complete, which will take more time. Under normal circumstances, it is required to respond within 1s.
Translated by Google Translate. Corrections and layout updates by Mark Van den Borre mark@fosdem.org.
Date 20200308
Version 1.0
Description Created document.
Author KinCony IOT
revision record
- 0xC034 command, the reply data adds 1 byte (automatically reported flag) + software version number.
- 0xC001 command, reply to increase the reply content of the relay.
- 0xC002 command, response to increase data payload.
- 0xC003 command, add RS485 reply content in response.
- 0xC021 command, add a data bit.
- 0xC011 command and 0xC012 command response add a data bit.