OG_MU-4-434_v10e Circuit Design, Inc.
34
OPERATION GUIDE
5.4 Command, Response and Receive details
The default value
In the explanation below, “Default” value is the factory setting set using the ‘INI’ terminal or by
issuing the initialize command.
The terminator
In the explanation below, the terminator, which is the characters that indicate the end of the
command and response, is the symbol ‘C
R
L
F
’. ‘C
R
L
F
’: C
R
(carriage return: ‘C
R
’ = 0Dh) + L
F
(line feed: ‘L
F
’ = 0Ah)
5.4.1 Data transmit commands, responses and data receives
Data transmit command basic format
command name + value + data + command terminator
Prefix: ‘@’=40h, a code that indicates the start of the command string.
Command name: The 2 ASCII characters ‘DT’. Specified with upper case or lower case characters.
Value: Specifies user data size with a hexadecimal number.
Data: Byte sequence of user data.
Command option: Specifies the operation of the command and route information.
Data transmit command code (Transmission of 6-byte data)
Command string
Hexadecimal code actually sent to the MU-4
@DT 06 abc123
C
R
L
F
40,44,54,30,36,61,62,63,31,32,33,0D,0A
Data transmission response basic format
command name + ‘=’ + value + terminator
Prefix: ‘*’ = 2Ah, a code that indicates the start of the response string.
Command name: The ASCII characters ‘DT’.
Value: The size of data received with the ‘DT’ command
Data transmit response code (255-byte data transmission)
Transmit response character string Hexadecimal code actually issued from the MU-4
*DT = FF
C
R
L
F
2A,44,54,3D,46,46,0D,0A
Data receive basic format
data receive name + ‘=’ + value 1 + value 2 + data + option data + terminator
Prefix: ‘*’ = 2Ah, a code that indicates the start of the response string.
Data receive name: The 2 ASCII characters ‘DR’,’DC’ or ‘DS’.
Value 1: 1 byte hexadecimal value to show the RSSI information. Specified by 2 ASCII characters.
Value 2: 1 byte hexadecimal value to show the size of the user data. Specified by 2 ASCII characters.
Data: Byte sequence of user data.
Option data: Route information and the like.
Data receiver code
Data receive (receiving data) character string Hexadecimal code actually returned from the MU-4
*
DR = 06
abc123
C
R
L
F
2A,44,52,3D,30,36,61,62,63,31,32,33,0D,0A