Manual

iPocket232 User Guide 4 Configuring the Serial Port Settings
23-CML000293 Precidia Technologies Inc. 33
2 Choose a Terminator from Terminator #1 through #6.
You are prompted to enter a terminator character in decimal.
3 Type in a terminator and press Enter.
You are prompted to enter the number of tail bytes in decimal.
4 Enter the number of tail bytes and press Enter.
NOTE: The number of tail bytes determines how many characters to wait for after the
terminator before sending the packet.
For example, if you are parsing a data frame that ends with ETX and has a 2 byte CRC
that follows, you will want to terminate on 3, with 2 tail bytes. However, if you get an
ACK, you may not want to collect any tail bytes at all, so you would terminate on 6
with 0 tail bytes.
Table 4.6: Common Terminators
Terminator Mnemonic
ASCII
Decimal
Terminator Mnemonic
ASCII
Decimal
Null NUL
0
Data Control 2 DC2
18
End of Text ETX
3
Data Control 3 DC3 or
XOFF
19
End of Transmis-
sion
EOT
4
Data Control 4 DC4
20
Enquire ENQ
5
Neg-Acknowledge NAK
21
Acknowledge ACK
6
Synchronization SYN
22
Line Feed LF
10
End of Block ETB
23
Vertical tab VT
11
Cancel CAN
24
Form Feed FF
12
End of Message EM
25
Carriage Return CR
13
End of File EOF
26
Data Link Escape DLE
16
Escape ESC
27
Data Control 1 DC1 or
XON
17