![Bose AV20 Installer'S Manual Download Page 21](http://html1.mh-extra.com/html/bose/av20/av20_installers-manual_2792059021.webp)
Installers Guide to the Bose® Serial interface
June 28, 2011
Bose Confidential Information
Page 21/42
Do Not Redistribute
The Client sends the following bytes (shown in hexadecimal) to the Console:
Client sends: 0b 00 01 04 b3 01 2c 01 01 01 91
Table 5-12 Sample Key Press Command
Byte
Number
Value
(Hex)
Name
Explanation
0
0b
Length
The total number of bytes in this packet is 11
1
00
Status
All Status bits must be zero for packets sent by the Client
2-3
01 04
OpCode
The OpCode of the Key Press command
4
b3
Payload
The KeyCode for BOSE_INPUT1 (See section 7.2 Key Press
Codes.)
5
01
Producer
Simulate a key press from the RF remote.
6-7
2c 01
Hold Time
Simulate a 300 msec hold of the key. 300 decimal is 0x012C
The bytes for this field are sent in the byte order LSB, MSB so
the bytes are reversed
8
01
Room Code
Room number is 1 for room B
9
01
Zone
The second zone (1) is always associated with rooms B-O
10
91
Checksum
The exclusive or (XOR) of all bytes in this packet (including
length) which precede the checksum byte
The Checksum calculation is detailed in the following table where each byte is converted to
binary and the number of 1 bits in corresponding bit positions is summed for all bytes preceding
the Checksum byte. The Checksum byte is computed by the Client based on the packet data and
sent as the last byte of the packet. The Console re-computes the checksum and compares it with
the Checksum sent. This helps verify the packet was not corrupted in transit.
Table 5-13 Sample Checksum Calculation for Key Press
Byte
Number
0
1
2
3
4
5
6
7
8
9
Number of 1’s in
corresponding
bit in preceding
bytes
10
(Checksum)
Value(Hex)
0b 00 01 04 b3
01 2c 01 01
01 N/A
91
Bit 7
0
0
0
0
1
0
0
0
0
0
1
1
Bit 6
0
0
0
0
0
0
0
0
0
0
0
0
Bit 5
0
0
0
0
1
0
1
0
0
0
2
0
Bit 4
0
0
0
0
1
0
0
0
0
0
1
1
Bit 3
1
0
0
0
0
0
1
0
0
0
2
0
Bit 2
0
0
0
0
0
0
1
0
0
0
1
0
Bit 1
1
0
1
1
1
0
0
0
0
0
4
0
Bit 0
1
0
0
1
1
1
0
1
1
1
7
1
Assuming no Notification packets were sent by the Console, the Ready packet would be received
next since the Console does not send a response for the Key Press command.
Console sends: 04 07 01 00
See section
for the format and meaning of each byte.
The Client can now issue another command.