FMUSER INTERNATIONAL GROUP INC.
广州市汉婷生物技术开发有限公司
21
Bidirectional communication:
Next command can be sent after receiving confirm sequence from previous command. This ensures right timing
and optimal channel usage in all cases. There is no need to consider any timing or delays.
TX
RX (ECHO=1)
RX (ECHO=0)
P S = P R O
[
P S = P R O
8
[
8 ←
(next command may follow)
8 8 (exec. Time) ← ↓ + ← ↓ ← ↓
(exec. time) ← ↓ + ← ↓ ← ↓
TX
P S ←
(next command may follow)
RX (ECHO=1)
P S ← ↓ P R O
[
8 8
←
↓ + ←
↓ ← ↓
RX (ECHO=0)
← ↓ P R O
[
8 8
←
↓ + ←
↓ ← ↓
TX
*
P
S ←
(next command may follow)
RX (ECHO=1)
*
P S (exec. time) ← ↓
+
← ↓ ← ↓
RX (ECHO=0)
(exec. time) ← ↓
+
← ↓ ← ↓
Legend:
TX – data sent to the RDS encoder, RX – data read from the RDS encoder, ← - CR (char. 13), ↓ - LF (char. 10)
10.4.3 Useful notes
ASCII char. 9 (TAB) is converted to char. 32 (space).
In addition to the <Enter> (char. 13, CR) used for command validating, character 26 (EOF) can be used.
This allows to insert the validating character on platforms where char. 13 (CR) is not accepted.
The command interpreter ignores other characters in ASCII range 0-31.
Space characters (char. 32) are ignored if typed behind validating character on a new line. In this case, the
space characters may be used to realize a delay between two commands.
The COM port time-out is 2 minutes. If no character is received during this time, the command line is internally
cleared.