ABC Office DC-2 Host Initiated Command Packets, Reset Unit, Restore Defaults, Send IR Command

Page 11

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

7.3 Host Initiated Command Packets

The DC-2/MC-1 serial communication protocol has been designed to respond to the following commands as described below. Each command is transmitted to the DC-2/MC-1 with the identified parameters. If the command is successfully received and processed by the DC-2/MC-1, the unit will respond with the described response packet or action.

7.3.1 Reset Unit

Commands the DC-2/MC-1 to soft reset.

7.3.1.1 Command Packet Description

Application Header:

 

Command

DC_CMD_RESET

0x10

Data Count

0

0x00

Application Data:

 

 

 

N/A

 

7.3.1.2 DC-2/MC-1 Response

 

The DC-2/MC-1 will perform and internal reset. After reset the DC-2/MC-1 will go through a soft power- up initialization. This includes transmitting the “Wakeup Notification Packet”. A soft reset does not reinitialize the DC-2/MC-1. Nonvolatile RAM is maintained.

7.3.2 Restore Defaults

Commands DC-2/MC-1 restore the system and effect parameters to the factory defaults.

7.3.2.1 Command Packet Description

Application Header:

Command DC_CMD_RESTORE_DEFAULTS 0x13

Data Count 00x00

Application Data:

N/A

7.3.2.2 DC-2/MC-1 Response

The DC-2/MC-1 will reset, clear any saved system and effect parameters in Nonvolatile RAM, and restore the factory default system and effect parameters. After reset the DC-2/MC-1 will go through a soft power- up initialization. This includes transmitting the “Wakeup Notification Packet”.

7.3.3 Send IR Command

Transmits IR command key codes to the DC-2/MC-1.

7.3.3.1 Command Packet Description

Application Header:

 

Command

DC_CMD_IR

0x14

Data Count

1

0x01

Application Data:

 

Data[0]

KeyCode

nn

7.3.3.2 Data Description

KeyCode:

 

Data Type:

Unsigned 8 bit integer.

Valid Values:

Appendix C DC-2/MC-1IR-Codes

11 of 44

Image 11
Contents Serial Communications Protocol Definition Data Link Layer Internal Use General Description DocumentsDefinitions AbbreviationsSerial Port Driver DB-9 RS232 ConnectorPhysical Layer Data Link Layer ErrorsDC-2/MC-1 Receive Buffer DC-2/MC-1 Hardware VerificationNotification Packet Description Application LayerDC-2/MC-1 Asynchronous Notification Packets Wakeup NotificationData Description Sleep NotificationFront Panel Display Buffer Host Response ExpectedSupported System Parameters Host ResponseNo Acknowledge Acknowledgment PacketsAcknowledge Send IR Command Host Initiated Command PacketsReset Unit Restore DefaultsData Validation Get DC-2/MC-1 Unit Configuration4.2 DC-2/MC-1 Unit Configuration Response Packet 3.3 DC-2/MC-1 ResponseSW Level Product IDSW Type THX AC3 DTSDcrespsysstatus Get System StatusSystem Status Response Packet INSTREAMAC351 Get Record/Zone 2 StatusRateunknown RATE44 RATE48 RATE88 RATE96Dccmdgetrecstatus Get System Parameter Definition by Id Command PacketGet System Parameter Definition Record/Zone2 Status Response PacketDcrespsysparamdef Get System Parameter Definition by Name Command PacketSystem Parameter Definition Response Packet DccmdgetsysparambynameEffect Definition Response Packet Get System Parameter ValuesGet Effect Definition by Id System Parameter Values Response PacketDccmdgeteffectparamdef Get Effect Parameter DefinitionEffect Parameter Definition Response Packet DcrespeffectdefApplicationHeader Get Effect Parameter Values10.5 Data Description Effect Parameter Values Response PacketData Description Custom Name Response Packet Get Custom NameGet Input Name by Id FPD Control Register Response Packet Get FPD Control RegistersInput Name Response Packet Dcrespfpdcontrol Set System Parameter ValuesSet Effect Parameter Values 15.3 DC-2/MC-1 ResponseDccmdseteffectparamvalues Set Effect Name by Effect Id16.3 DC-2/MC-1 Response 17.3 DC-2/MC-1 Response19.3 DC-2/MC-1 Response Set System VolumeSet Main Balance 18.3 DC-2/MC-1 Response20.3 DC-2/MC-1 Response Set Front/Back BalanceSet Active Effect by Id Packet Description23.3 DC-2/MC-1 Response Data Validation Set Record/Zone2 InputClear Record/Zone2 Input 22.3 DC-2/MC-1 Response Data Validation24.3 DC-2/MC-1 Response Set Zone2 VolumeSet Zone2 Left/Right Balance Set Custom NameDccmdsetcustname Set Input Name by Id26.3 DC-2/MC-1 Response 27.3 DC-2/MC-1 ResponseData Description 29.3 DC-2/MC-1 Response Set FPD Control RegistersHost Wakeup 28.3 DC-2/MC-1 Response31.3 Data Description Get Communication ConfigurationHost Sleep 32.2 Data Description Set Communication ConfigurationDccmdsetcomconfig Set MuteDccmdsetmute Set Output Level Adjustments33.3 DC-2/MC-1 Response 34.2 Data Description35.3 DC-2/MC-1 Response Send Display String Command34.3 DC-2/MC-1 Response 35.2 Data DescriptionInternal Use Peek CommandPoke Command Appendix a Command CodesAcknowledgments ResponsesError CodeHex Appendix B Error CodesHex Function Code Shift Functions Hex Code Rec Function Appendix C DC-2/MC-1 IR-CodesConstant ValueDec Appendix D Input Id’sAppendix E Protocol Constants Input Name Input Id15.1.1 DC-2/MC-1 Appendix F FPD Control RegistersApplication Notes and Examples Box initializationsSimple System Control & System Status Getting System Wide Status and SetupDownloading the System Setup to the DC-2/MC-1 DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 Get Unit ConfigurationExamples SOP DLL DC CMD15.5.3 Set Input Name Get Effect DefinitionCmd Send IR Command Example