Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
TimeStamp: 
Is a null terminated ASCII text string describing the build date and time of the 
current software build.  The Format of this text string is: 
 “yy/mm/dd(sp)hh:mm” 
 
yy- is the last two digits of the year (i.e. year 2001=01, year 2002 = 02) 
 
mm - is the month 
 
dd- is the day 
 
(sp) - is an ASCII space character (0x20) 
 
hh - is the hour 
 
mm - is the minute 
 
SerialNumber: 
The Serial Number is an unsigned 32 bit integer holding the unique value of the 
current unit.   
 
7.3.40  MC-12 Send IR Command (MC-12) 
This command allows the HOST to transmit IR command key codes to the MC-12.  
7.3.40.1  Command Packet Description 
  
Application Header: 
Command MC_CMD_IR 0x39 
Data Count 
0x01 
Application Data: 
  
Data[0] KeyCode nn 
 
7.3.40.2 Data Description 
 KeyCode: 
 
 
Data Type: 
Unsigned 8 bit integer. 
  Valid 
Values: 
7.3.40.3 MC-12 Response 
The KeyCode is processed as a valid IR code.  No acknowledgment will be sent from MC-12. 
7.3.40.4 Data Validation 
The KeyCode data will be verified as a legal IR code.  If the Code is not valid the MC-12 will not respond. 
7.3.41  MC-12 Get Parameter Value by Id (MC-12) 
Request to MC-12 for the current value of a given parameter.  The MC-12 will respond with a “Parameter 
Value Packet”. 
7.3.41.1  Command Packet Description 
  
Application Header: 
Command MC_CMD_GET_PARAM_VALUE_BY_ID 
0x3A 
Data Count 
0x02 
Application Data: 
  
Data[0] ParamId 
(LSB) 
nn 
Data[1] ParamId 
(MSB) 
nn 
 
7.3.41.2 Data Description 
© 2005 Harman Specialty Group All rights reserved. 
 
43 of 106