Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

7.3.8 Get System Parameter Values

Request to DC-2/MC-1 for all current system parameter values. DC-2/MC-1 will respond with the “System Parameter Values Packet”.

7.3.8.1 Command Packet Description

Application Header:

 

Command

DC_CMD_GET_SYS_PARAM_VALUES

0x1A

Data Count

0

0x00

Application Data:

 

 

N/A

 

7.3.8.2 System Parameter Values Response Packet

Application Header:

 

 

Command

DC_RESP_SYS_PARAM_VALUES

0x84

Data Count

SYS_PARAM_COUNT

nn

Application Data:

 

 

Data[0]

sys_param_value[0]

nn

Data[1]

sys_param_value[1]

nn

Data[…]

sys_param_value[…]

nn

Data[SYS_PARAM_COUNT-1]

sys_param_value[SYS_PARAM_COUNT-1]

nn

7.3.8.3 Data Description

sys_param_value:

 

Data Type:

Unsigned 8 bit integer Array.

Max:

Dependent on the parameter definition.

7.3.9 Get Effect Definition by Id

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

7.3.9.1 Command Packet Description

Application Header:

Command

DC_CMD_GET_EFFECT

0x1B

Data Count

1

0x01

Application Data:

 

Data[0]

EffectId

nn

7.3.9.2 Data Description

EffectId:

 

Data Type:

Unsigned 8 bit integer

Max:

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

7.3.9.3 Data Validation:

The EffectId must be a valid Effect Id. If it is not the DC-2/MC-1 will respond with a NAK packet and error code DC_ERR_ INVALID_EFFECT_ID.

7.3.9.4 Effect Definition Response Packet

18 of 44

Page 18
Image 18
ABC Office MC-1, DC-2 Get System Parameter Values, Get Effect Definition by Id, System Parameter Values Response Packet