Effect parameter values response packet, Data description, Get custom name – Lexicon DC-2 User Manual

Page 21: Command packet description, Custom name response packet, Get input name by id

Advertising
background image

Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

21 of 44

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

Advertising
This manual is related to the following products: