The following table shows the meaning of the possible error codes (these codes are defined in AmperReaderConst public interface):
Error code | Reasons/Actions |
---|---|
0 | Incorrect externalized data |
1 | Timeout |
2 | Bad characters from device |
3 | Device not armed |
4 | Device not connected |
5 | Operation not completed |
6 | Device malfunction |
7 | Operation Cancelled |
8 | Port does not exist |
9 | Port is already in use |
10 | Input stream creation error |
11 | Output stream creation error |
12 | Too many serial port listeners |
13 | Bad open parameters |