ABC Office Application Layer, DC-2/MC-1 Asynchronous Notification Packets, Wakeup Notification

Page 7

Lexicon, Inc.

 

 

 

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

 

 

 

 

 

Data Link Header:

 

 

 

 

Byte Number

Description

 

Value

 

First Byte(0)

 

Start of Packet(SOP)

 

0xF1

 

Byte(1)

 

DLL Data Count

 

nn

 

Application Header:

 

 

 

 

Byte(2)

 

Command

 

nn

 

Byte(3)

 

APP Data Count(number of application data bytes to Follow)

nn

 

Application Data:

 

 

 

 

Byte(4)

 

Data[0]

 

nn

 

Byte(5)

 

Data[1]

 

nn

 

 

Data[…]

 

nn

 

Last Data Byte -1

 

Data[Data Count -1]

 

nn

 

Data Link Tail:

 

 

 

 

Last Byte

 

End of Packet (EOP)

 

0xF2

 

6.1 Errors

If the number of DLL data bytes received is the same as the data count and an EOP has not been received, the DC-2/MC-1 responds by transmitting a NAK packet with an error code DC_ERR_INVALID_PACKET. The DC-2/MC-1 then continues to look for a SOP byte and will not process the erroneous application packet. The HOST can use this as an indicator to retransmit the corrupted packet.

7 Application Layer

7.1 DC-2/MC-1 Asynchronous Notification Packets

DC-2/MC-1 has been designed to transmit the asynchronous notification packets following these system changes:

1.Power On

2.Entering Standby

3.Front Panel Display update and

4.Parameter Value Changes.

The notification packets are defined as follows:

7.1.1 Wakeup Notification

By transmitting the Wakeup Notification, DC-2/MC-1 indicates the unit has just “powered on” or reset and is ready to receive host commands. If no acknowledgment is received within ACK_TIMEOUT, DC-2/MC- 1 will continue to operate. This notification is primarily for the HOST to know the status of the DC-2/MC- 1.

7.1.1.1 Notification Packet Description

Application Header:

Command DC_WAKEUP 0x01

Data Count 00x00

Application Data:

N/A

7 of 44

Image 7
Contents Serial Communications Protocol Definition Data Link Layer Internal Use General Description DocumentsDefinitions AbbreviationsPhysical Layer DB-9 RS232 ConnectorSerial Port Driver Data Link Layer ErrorsDC-2/MC-1 Receive Buffer DC-2/MC-1 Hardware VerificationNotification Packet Description Application LayerDC-2/MC-1 Asynchronous Notification Packets Wakeup NotificationData Description Sleep NotificationFront Panel Display Buffer Host Response ExpectedSupported System Parameters Host ResponseAcknowledge Acknowledgment PacketsNo Acknowledge Send IR Command Host Initiated Command PacketsReset Unit Restore DefaultsData Validation Get DC-2/MC-1 Unit Configuration4.2 DC-2/MC-1 Unit Configuration Response Packet 3.3 DC-2/MC-1 ResponseSW Level Product IDSW Type THX AC3 DTSSystem Status Response Packet Get System StatusDcrespsysstatus INSTREAMAC351 Get Record/Zone 2 StatusRateunknown RATE44 RATE48 RATE88 RATE96Dccmdgetrecstatus Get System Parameter Definition by Id Command PacketGet System Parameter Definition Record/Zone2 Status Response PacketDcrespsysparamdef Get System Parameter Definition by Name Command PacketSystem Parameter Definition Response Packet DccmdgetsysparambynameEffect Definition Response Packet Get System Parameter ValuesGet Effect Definition by Id System Parameter Values Response PacketDccmdgeteffectparamdef Get Effect Parameter DefinitionEffect Parameter Definition Response Packet DcrespeffectdefApplicationHeader Get Effect Parameter Values10.5 Data Description Effect Parameter Values Response PacketGet Input Name by Id Get Custom NameData Description Custom Name Response Packet Input Name Response Packet Get FPD Control RegistersFPD Control Register Response Packet Dcrespfpdcontrol Set System Parameter ValuesSet Effect Parameter Values 15.3 DC-2/MC-1 ResponseDccmdseteffectparamvalues Set Effect Name by Effect Id16.3 DC-2/MC-1 Response 17.3 DC-2/MC-1 Response19.3 DC-2/MC-1 Response Set System VolumeSet Main Balance 18.3 DC-2/MC-1 Response20.3 DC-2/MC-1 Response Set Front/Back BalanceSet Active Effect by Id Packet Description23.3 DC-2/MC-1 Response Data Validation Set Record/Zone2 InputClear Record/Zone2 Input 22.3 DC-2/MC-1 Response Data Validation24.3 DC-2/MC-1 Response Set Zone2 VolumeSet Zone2 Left/Right Balance Set Custom NameDccmdsetcustname Set Input Name by Id26.3 DC-2/MC-1 Response 27.3 DC-2/MC-1 ResponseData Description 29.3 DC-2/MC-1 Response Set FPD Control RegistersHost Wakeup 28.3 DC-2/MC-1 ResponseHost Sleep Get Communication Configuration31.3 Data Description 32.2 Data Description Set Communication ConfigurationDccmdsetcomconfig Set MuteDccmdsetmute Set Output Level Adjustments33.3 DC-2/MC-1 Response 34.2 Data Description35.3 DC-2/MC-1 Response Send Display String Command34.3 DC-2/MC-1 Response 35.2 Data DescriptionInternal Use Peek CommandPoke Command Appendix a Command CodesAcknowledgments ResponsesError CodeHex Appendix B Error CodesHex Function Code Shift Functions Hex Code Rec Function Appendix C DC-2/MC-1 IR-CodesConstant ValueDec Appendix D Input Id’sAppendix E Protocol Constants Input Name Input Id15.1.1 DC-2/MC-1 Appendix F FPD Control RegistersApplication Notes and Examples Box initializationsDownloading the System Setup to the DC-2/MC-1 Getting System Wide Status and SetupSimple System Control & System Status DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 Get Unit ConfigurationExamples SOP DLL DC CMD15.5.3 Set Input Name Get Effect DefinitionCmd Send IR Command Example