Lexicon, Inc. |
|
|
|
|
|
| |
|
| Printed on: 10/19/00 | |||||
|
|
|
|
|
|
|
|
SOP | DLL DC | CMD | App DC |
| DATA0 | EOP |
|
|
|
|
|
| Cmd |
|
|
F1 | 04 | E0 | 01 |
| 2E | F2 |
|
Because the
15.5.4 Send IR Command Example
SOP | DLL DC | CMD | AppDC | DATA0 | EOP |
|
|
|
| IR Key |
|
|
|
|
| Code |
|
F1 | 04 | 14 | 01 | 17 | F2 |
This example shows how to transmit the IR command for “Volume Up”. The bytes are transmitted from left to right and they are defined as: Byte 0: Start of Packet(F1 hex)
Byte 1: Data Link Layer(DLL) Data Count(DC); for an IR command this would be 4 bytes to follow
Byte 2: The Application Layer Command, in this case it is 14 hex indicating this is an IR command packet.
Byte 3: The Application Layer Data Count(DC); for this packet it is 1 data byte to follow.
Byte 4: The Application Command Data: This IR Command Packet is transmitting Key Code “Volume Up”(17 hex). To transmit other IR Key Codes the user would replace this byte with other IR key codes as found in Appendix C
Byte 5: End of Packet (F2 hex)
44 of 44