Command packet description, Data description, Data validation – Lexicon DC-2 User Manual
Page 22: Input name response packet, Get fpd control registers

Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
Printed on: 10/19/00
22 of 44
Application Header:
Command
DC_CMD_GET_INPUT_NAME
0x2D
Data Count
1
0x01
Application Data:
Data[0]
InputId
nn
7.3.13.2 Data Description
InputId:
Data Type:
Unsigned 8 bit Integer
Max Value:
7
Conversion:
Input Id are defined in Appendix D Input Id’s
7.3.13.3 Data Validation:
The InputId must be a valid Input number. If it is not the DC-2/MC-1 will respond with a NAK packet and
error code DC_ERR_ INVALID_INPUT_ID.
7.3.13.4 Input Name Response Packet
Application Header:
Command
DC_RESP_INPUT_NAME 0x8A
Data Count
strlen(InputName) + 2
nn
Application Data:
Data[0]
InputId
nn
Data[2]- Data[DataCount-1]
InputName
ch ch ch … 0x00
7.3.13.5 Data Description
InputId:
Data Type:
Unsigned 8 bit Integer
Max Value:
7
Conversion:
Input Id’s are defined in Appendix D Input Id’s
InputName:
Data Type:
Null(0x00) terminated ASCII character string.
Max Length:
INPUT_NAME_LENGTH defined in Appendix E Protocol Constants.
7.3.14 Get FPD Control Registers
Request to DC-2/MC-1 for FPD control registers. DC-2/MC-1 will respond with “FPD Control Register
Packet”.
7.3.14.1 Command Packet Description
Application Header:
Command
DC_CMD_GET_FPD_CONTROL
0x29
Data Count
0
0x00
Application Data:
N/A
7.3.14.2 FPD Control Register Response Packet