OG_MU-4-434_v10e Circuit Design, Inc.
64
OPERATION GUIDE
6.4 Response and Receive Processing
6.4.1 Responses and receives
Responses and receives are returned by the MU-4 in the following cases.
1. When a command is issued (command response, error response)
2. Processing result from the target station corresponding to the issued command (receive reponse, ACK
response)
3. When data from the source station is received (data receive)
6.4.2 Response and receive formats
All responses and receives start with the prefix ‘*’, and the command response name is the same 2 ASCII characters
as the corresponding command. The ‘*DR’, ‘*DC’ and ‘*DS’ receives indicate the transmitted data, and they
correspond to the transmitting end ‘@DT’ command.
After the 2 character response or receive name comes ‘=’, followed by bytes that indicate a parameter, value or data.
At the end of the response and the receive, the 2 character terminator
C
R
L
F
(0Dh, 0Ah) is appended.
Example: *CH = 1B
C
R
L
F
*EI = 30
C
R
L
F
*DR = 0B 66666666666
C
R
L
F
6.4.3 Response and receive types
Responses and receives consist of the following types, and each type must be processed separately.
1. 2 character response: The response parameter is a 2 character response
BR, CA, CH, CP, CR, CS, CT, DI, DT, EC, EI, ER, GI, IR, IZ, MD, RA, PB, RM, RR, SB, SI, SR, TB, TC, VR
Example: Command ‘@CH 2A
C
R
L
F
’
Response: ‘*CH = 2A
C
R
L
F
’
The value ‘2A’ consists of 2 ASCII characters that express a hexadecimal number.
2. 4 character response: The response parameter is a 4 character response
UI
Example: Command ‘@UI 800F,xxxx
C
R
L
F
’
Response: ‘*UI = 800F
C
R
L
F
’
The value ‘800F’ consists of 4 ASCII characters that express a hexadecimal number.
3. Data receive: Data when data is received by wireless
Example: When wireless reception data with a 10 (0Ah) value is received.
Data receive ‘*DR = 0A 5555555555
C
R
L
F
’
The value ‘0A’ consists of 2 ASCII characters that express a hexadecimal number.
After the data size comes the corresponding number of bytes of user data.
4. No response: Items with no response to the command
There is no reponse to the standby mode setting command SY.
5. Number of channels × 2 character response: 127ch x 2 character response
RC
6. 9 character response: The response parameter is a 9 character response
SN
7. Items for which the response length cannot be regulated
The response length for RT and VR cannot be regulated.
These should be determined by their terminator.