ABC Office DC-2, MC-1 manual Get Custom Name, Get Input Name by Id

Page 21

Lexicon, Inc.

 

 

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

 

 

 

 

Application Header:

 

 

 

Command

DC_RESP_EFFECT_PARAM_VALUES

0x87

 

Data Count

1 + EffectParamCount

nn

 

Application Data:

 

 

 

Data[0]

EffectId

nn

 

Data[1]

effect_param_value[0]

nn

 

Data[…]

effect_param_value[…]

nn

 

Data[DataCount-1]

effect_param_value[EffectParamCount-1]

nn

 

7.3.11.5 Data Description

 

 

EffectId:

 

 

 

Data Type:

Unsigned 8 bit integer.

 

 

Max:

Set by the Effect Count in the “Unit Configuration Packet”.

effect_param_value:

 

 

 

Data Type:

Unsigned 8 bit integer array.

 

 

Max:

Dependent on the parameter definition

 

 

7.3.12 Get Custom Name

Request to DC-2/MC-1 for an effect definition. DC-2/MC-1 will respond with “Custom Name Packet”.

7.3.12.1 Command Packet Description

Application Header:

Command

DC_CMD_GET_CUST_NAME

0x2B

Data Count

0

0x00

Application Data:

 

 

N/A

 

7.3.12.2 Data Description

N/A

7.3.12.3 Custom Name Response Packet

Application Header:

Command

DC_RESP_CUST_NAME

0x89

Data Count

strlen(CustomName) + 1

nn

Application Data:

 

 

Data[0]- Data[DataCount-1]

CustomName

ch ch ch … 0x00

7.3.12.4 Data Description

CustomName:

 

Data Type:

Null(0x00) terminated ASCII character string.

Max Length:

CUSTOM_NAME_LENGTH defined in Appendix E Protocol Constants.

7.3.13 Get Input Name by Id

Request to DC-2/MC-1 for an input name. DC-2/MC-1 will respond with “Input Name Packet”.

7.3.13.1 Command Packet Description

21 of 44

Image 21
Contents Serial Communications Protocol Definition Data Link Layer Internal Use Definitions DocumentsAbbreviations General DescriptionDB-9 RS232 Connector Physical LayerSerial Port Driver DC-2/MC-1 Receive Buffer ErrorsDC-2/MC-1 Hardware Verification Data Link LayerDC-2/MC-1 Asynchronous Notification Packets Application LayerWakeup Notification Notification Packet DescriptionFront Panel Display Buffer Sleep NotificationHost Response Expected Data DescriptionSupported System Parameters Host ResponseAcknowledgment Packets AcknowledgeNo Acknowledge Reset Unit Host Initiated Command PacketsRestore Defaults Send IR Command4.2 DC-2/MC-1 Unit Configuration Response Packet Get DC-2/MC-1 Unit Configuration3.3 DC-2/MC-1 Response Data ValidationSW Type Product IDTHX AC3 DTS SW LevelGet System Status System Status Response PacketDcrespsysstatus Rateunknown RATE44 RATE48 RATE88 Get Record/Zone 2 StatusRATE96 INSTREAMAC351Get System Parameter Definition Get System Parameter Definition by Id Command PacketRecord/Zone2 Status Response Packet DccmdgetrecstatusSystem Parameter Definition Response Packet Get System Parameter Definition by Name Command PacketDccmdgetsysparambyname DcrespsysparamdefGet Effect Definition by Id Get System Parameter ValuesSystem Parameter Values Response Packet Effect Definition Response PacketEffect Parameter Definition Response Packet Get Effect Parameter DefinitionDcrespeffectdef Dccmdgeteffectparamdef10.5 Data Description Get Effect Parameter ValuesEffect Parameter Values Response Packet ApplicationHeaderGet Custom Name Get Input Name by IdData Description Custom Name Response Packet Get FPD Control Registers Input Name Response PacketFPD Control Register Response Packet Set Effect Parameter Values Set System Parameter Values15.3 DC-2/MC-1 Response Dcrespfpdcontrol16.3 DC-2/MC-1 Response Set Effect Name by Effect Id17.3 DC-2/MC-1 Response DccmdseteffectparamvaluesSet Main Balance Set System Volume18.3 DC-2/MC-1 Response 19.3 DC-2/MC-1 ResponseSet Active Effect by Id Set Front/Back BalancePacket Description 20.3 DC-2/MC-1 ResponseClear Record/Zone2 Input Set Record/Zone2 Input22.3 DC-2/MC-1 Response Data Validation 23.3 DC-2/MC-1 Response Data ValidationSet Zone2 Left/Right Balance Set Zone2 VolumeSet Custom Name 24.3 DC-2/MC-1 Response26.3 DC-2/MC-1 Response Set Input Name by Id27.3 DC-2/MC-1 Response DccmdsetcustnameHost Wakeup Set FPD Control Registers28.3 DC-2/MC-1 Response Data Description 29.3 DC-2/MC-1 ResponseGet Communication Configuration Host Sleep31.3 Data Description Dccmdsetcomconfig Set Communication ConfigurationSet Mute 32.2 Data Description33.3 DC-2/MC-1 Response Set Output Level Adjustments34.2 Data Description Dccmdsetmute34.3 DC-2/MC-1 Response Send Display String Command35.2 Data Description 35.3 DC-2/MC-1 ResponsePoke Command Peek CommandAppendix a Command Codes Internal UseAcknowledgments ResponsesError CodeHex Appendix B Error CodesHex Function Code Shift Functions Hex Code Rec Function Appendix C DC-2/MC-1 IR-CodesAppendix E Protocol Constants Appendix D Input Id’sInput Name Input Id Constant ValueDecApplication Notes and Examples Appendix F FPD Control RegistersBox initializations 15.1.1 DC-2/MC-1Getting System Wide Status and Setup Downloading the System Setup to the DC-2/MC-1Simple System Control & System Status Examples Get Unit ConfigurationSOP DLL DC CMD DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA815.5.3 Set Input Name Get Effect DefinitionCmd Send IR Command Example