0: there are no errors
1: invalid serial port
2: invalid serial port mode
3: invalid baud rate
4: invalid data bits
5: invalid parity
6: invalid stop bits
7: invalid modem signal parameter
8: invalid UART RX Threshold
parameter
9: invalid time-out parameter
10: busy serial port
11: UART hardware error
12: remote hardware error
20: invalid transmission buffer size
21: invalid signal modem method
22: CTS time-out = true
23: CTS time-out = false
24: transmission time-out error
30: invalid reception buffer size
31: reception time-out error
32: flow control configured differently
from manual
33: invalid flow control for the
configured serial port
34: data reception not allowed in
normal mode
35: data reception not allowed in
extended mode
36: DCD interruption not allowed
37: CTS interruption not allowed
38: DSR interruption not allowed
39: serial port not configured
50: internal error in the serial port