AC Controller--ShowDoc
Type Value Value Value
1 Byte 3 bit 5bit 1 Byte
0x00 Version Battery Level Reserve
In most cases, a device has only one channel of switching value, but it meets the status indication of up to eight
channels of switching value.
Type
1 Byte
Value
1 Byte
Comment
0x09 on-off state
1-byte unsigned integer. The
specific meaning depends on the
item. Generally, a single bit
represents one channel of
switching value (0 or 1), and up to
8 channels of switching value
The length is 2 wihle only current is included, length is 4 while both current and voltage included
Type Length Value Value
1 Byte 1 Byte uint16_t uint16_t
0x1A
2 is current
4 is current+voltage
Current, UnitmA Voltage, Unit0.1V
The Length is 4 if only Power is included
Type Length Value Value
1 Byte 1 Byte uint32_t uint32_t
0x1B 4 is P Power, unit is Walt Optional, to be defined
The CRC verification algorithm used in this document is as follows
.
static uint16_t get_crc16(uint16_t inData, uint16_t outData) {
outData = (outData >> 8) | (outData << 8);
outData ^= inData;
outData ^= (outData & 0xff) >> 4;
4.2 Sensor Data
4.2.1 Device information(0x00)
4.2.2.On/off(0x09)
4.23.3.Current Voltage(0x1A)
4.2.4.Power(0x1B)
5.CRC Example








