请教一个通讯协议的问题
分析下面的通讯协议并回答后面的问题:Logical Message Protocol: 8 byte packet, Checksum = Negative 8 bit 2's complement
sum of bytes 1-7. All numbers in hexadecimal:
Select Current Preset
Byte 0: 1C hex
Byte 1: Area
Byte 2: Fade Rate low byte (usually 10)
Byte 3: Preset: 0 = P1, 1 = P2, 2 = P3, 3 = P4, A = P5, B = P6, C = P7, D = P8
Byte 4: Fade Rate high byte (usually 0)
Byte 5: Preset Bank: 0 = P1 – P8, 1 = P9 – P16, 2 = P17 – P24 etc.
Byte 6: Join
Byte 7: Checksum
Example:
[1C] [01] [20] [03] [00] [00] [FF] [ ___ ]
问题:
(1)解释Example 中[01]和[03]的含义。
(2)计算Byte 7 处的内容。 --------------------编程问答-------------------- (1)01 -> 地区码
03 -> Preset: P4
(2)C1 --------------------编程问答-------------------- 楼上正解
补充:云计算 , 云安全