Lexicon, Inc.

 

 

 

 

 

 

DC-2/MC-1 Serial Communications Protocol

 

 

Printed on: 10/19/00

 

 

 

 

 

 

 

 

SOP

DLL DC

CMD

App DC

 

DATA0

EOP

 

 

 

 

 

 

Cmd

 

 

F1

04

E0

01

 

2E

F2

 

Because the DC-2/MC-1 received and processed the command successfully the DC-2/MC-1 responds with the DC_ACK packet. Here we see that the ACK packet is responding to the DC_CMD_SET_INPUT_NAME command.

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 DC-2/MC-1 IR-Codes.

Byte 5: End of Packet (F2 hex)

44 of 44

Page 44
Image 44
ABC Office MC-1, DC-2 manual Send IR Command Example, Cmd