Lexicon MC-12HD Serial Communications Protocol
7.3.29.4 Input Name Response Packet
Application Header:
Command MC_RESP_INPUT_NAME 0x96
Data Count
Number of Characters in
InputName + 2
nn
Application Data:
Data[0] InputId nn
Data[1]- Data[DataCount-1] InputName ch ch ch … 0x00
7.3.29.5 Data Description
InputId:
Data Type: Unsigned 8 bit Integer
Definition/Conversion:
Appendix D MC-12HD Input Ids
InputName:
Data Type: Null (0x00) terminated ASCII character string.
Max Length: INPUT_NAME_LENGTH defined in Appendix E Protocol Constants.
7.3.30 MC-12HD Set Input Name by Id
Sets an Input Name to the transmitted value for a given input.
7.3.30.1 Command Packet Description
Application Header:
Command MC_CMD_SET_INPUT_NAME 0x48
Data Count
Number of characters in
InputName + 2
nn
Application Data:
Data[0] InputId nn
Data[1]-Data[DataCount-1] InputName ch ch ch ... 0x00
7.3.30.2 Data Description
InputId:
Data Type: Unsigned 8 bit Integer
Description/Conversion: Appendix D MC-12HD Input Ids
InputName:
Data Type: Null (0x00) terminated ASCII character string.
Max Length: INPUT_NAME_LENGTH defined in Appendix E Protocol Constants.
7.3.30.3 MC-12HD Response
MC-12HD will copy the InputName to the given input.
7.3.30.4 Data Validation:
The InputId must be a valid Input Id. If it is not the MC-12HD will respond with a NAK packet and error
code DC_INVALID_INPUT. If the InputName string exceeds the INPUT_NAME_LENGTH, the MC-12HD
will truncate the string to the INPUT_NAME_LENGTH.
34