-

- 加为好友
- 发送私信
- 在线聊天
|
| 发表于:2008-08-06 20:40:43 楼主 |
分析下面的通讯协议并回答后面的问题: 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 处的内容。 |
|
|
|
20
修改
删除
举报
引用
回复
| |