2.2.6 Information ........................................................................................................................................ 5
3 Command List .............................................................................................................................................. 6
5.1 Communication Control .......................................................................................................................... 21
5.1.1 Communication Start ...................................................................................................................... 21
5.1.2 Control Sequence ........................................................................................................................... 21
5.1.3 Communication Errors .................................................................................................................... 21
5.1.4 Communication End ........................................................................................................................ 21
This document describes the command specifications to control the Wireless System charger developed in
Audio-Technica.
The following table shows the definition of terms used in this document.
Ter m Description
Host A device that issues control commands. It refers to application software or a
control device.
Device A device to be controlled.
AT device An Audio-Technica product device.
Message A character string transmitted per communication in data format.
Command A command statement to control a device. It is included in a message.
Parameter Used in combination with a command. It is a setting value that specifies a
command behavior.
The numeric representation is defined as follows:
Binary number: Specify a value followed by b. Example: 1010 0110b
Hexadecimal number: Specify a value preceded by 0x. Example: 0xA6
1
2 Basic Specifications
The update function updates the Wireless System via TCP protocol.
Table 2-1 Communication Interfaces
No Item Content Remarks
1. Communication
system
2. Transmission
speed
3. Port number
4. Maximum data
length
5. Compatible
connector
Full duplex
10Mbps / 100Mbps
TCP (control): 17300
UDP (notification): 17000
287 bytes (including line
feed codes)
Device side: RJ45
connector (compatible
with 10/100 Mbps)
Cable: CAT5e or higher
Each port number is fixed and cannot be
changed.
32 bytes for Ethernet communication
header, 255 bytes for control commands
Transmitted commands are categorized as follows:
Table 2-2 Communication Interfaces
No Command Content Remarks
1. Set Command Action command Change the charger settings.
2. Get Command Action command Obtain the charger settings and status.
3. ACKAcknowledge Respond to a Set Command.
4.
NAK
5. AnswerSetting change notification Respond to a Get Command.
6. Information Status change notification Report the charger settings and status
7. Req Command Action request Request an action to the host.
Negative acknowledge Respond to a Set Command.
① For delimiter, half-width space (␣:0x20) will be used.
② Commands use basically ASCII code. For specific commands UTF-8 is used (Example: Device naming
・・・ means space
↲・・・ means CR(0x0d)
・・・ means command parameter
The table below shows command protocol of the action commands.
Table 2-3 Command protocol of action commands
No. Item ContentSize Remarks
1. Command Command string 5byte Refer to “3.Table of commands”
2. Handshake
Select
3. Model ID Unused 4byte Fixed 0000
4. Unit No Unused 2byte Fixed 00
5. Continue
Select
6. Parameter Command parameter 0byte~ Refer to chapter4
7. End Character Sign for end of message 1byte CR (0x0D)
When a command is sent by the host, the following parameters can be abbreviated. This is done by using
comma (,) punctuation for unspecified data.
Example. When a whole abbreviation of the parameter
Sequence execution
system
Divided message system 2byte NC: No divided message
1byte H: Handshake method (Unused)
O: One-Way method
S: ACK/NAK format
CS: Head of divided message
CM: Divided message
CE: End of divided message
sprchS000000NC,,,,,,,,, ↲
However, depending on the command
“Error” can occur when a whole abbreviation of the parameter
“Unspecified” can occur when no abbreviation of the parameter
Cases above and parameters which cannot be abbreviated are described by each command from chapter
4.2 on.
Below, is the acknowledgment command format.
Table 2-4 Response to the acknowledgment command format
No Item Contentsize Remarks
1. Command Command string 5byte Refer to “3.Table of commands”
2. ACK ACK 3byte Fixed ACK
3. End Character Sign for end of message 1byte CR (0x0D)
3
Below, is the negative acknowledgment command format.
Table 2-5 Response to negative acknowledgment command format
No Item Contentsize Remarks
1. Command Command string 5byte Refer to “3.Table of commands”
2. NAK NAK 3byte Fixed NAK
3. Error Code Error code 2byte Refer to Table 2-6
4. End Character Sign for end of message 1byte CR (0x0D)
Below, are the error codes.
Table 2-6 Error Code
Error code Error content Remarks
01 Grammar error
02 Invalid command
03 Divided
Transmission Error
04 Parameter error
05 Transmit timeout Unused
90 Busy Unable to process due to busy state
92 Busy (Safe Mode) Unable to process due to p-Fail (power interruption)
93 Busy (Extension) Unable to process due to Extension mode (CU link)
99 Other errors Other errors than above
・ No mandatory request
・ Failure in mandatory request command string
・ Defined length of a command string is not appropriate
・ Max. length of command string including line feed code is
exceeded
・Cannot find command
(Refers to an unknown command or a command, which the device
cannot use.)
・Referred to “CM” or “CE” in a state, when “CS” Continue Select
is not received.
・ Refers to an invalid RX
・ Parameter is out of the defined range
・ When trying to change a parameter, which cannot be changed
(i.e. change “Priority” during talk,...)
Below, is the setting status notification.
Table 2-7 Command format of setting status notification
No Item Contentsize Remarks
1. Command Command string 5byte Refer to “3.Table of commands”
2. Model ID Unused 4byte Fixed 0000
3. Unit No Unused 2byte Fixed 00
4. Continue
Select
5. Parameter Command parameter 0byte~ Refer to chapter4 and 5
6. End Character Sign for end of message 1byte CR (0x0D)
Divided message system 2byte NC: No divided message
CS: Head of divided message
CM: Divided message
CE: End of divided message
4
Below, is the changing status notification.
Table 2-8 Command format of changing status notification
No Item Contentsize Remarks
1. Modify MD 2byte Fixed MD
2. CommandCommand string5byteRefer to “3.Table of commands”
3. Model ID Unused 4byte Fixed 0000
4. Unit No Unused 2byte Fixed 00
5. Continue
Select
6. Parameter Command parameter 0byte~ Refer to chapter5
7. End Character Sign for end of message 1byte CR (0x0D)
Divided message system 2byte NC: No divided message
CS: Head of divided message
CM: Divided message
CE: End of divided message
Below, is the requesting status notification. ( This command is not used for wireless system)
Table 2-9 Command format of c status notification
No Item Contentsize Remarks
1.
2.
3.
4.
5.
6.
7.
Request
Command
Model ID
Unit No
Continue
Select
Parameter
End Character
RQ 2byte Fixed RQ
Command string5byteRefer to “3.Table of commands”
Unused 4byte Fixed 0000
Unused 2byte Fixed 00
Divided message system 2byte NC: No divided message
CS: Head of divided message
CM: Divided message
CE: End of divided message
Command parameter 0byte~ Refer to chapter4
Sign for end of message 1byte CR (0x0D)
5
Loading...
+ 17 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.