Appendix c, List of function status and reader error code – Keri Systems BioPointe User Manual
Page 78
Biopointe Central User’s Manual
Appendix C 74
Appendix C
List of Function Status and Reader Error Code
This section describes the Function Status and Reader Error Codes. The function status is that returned by a
function. A value of zero indicates that the function was executed successfully, while a non-zero value
indicates that that the function had failed.
If the function status is FAL_RECEIVED, it indicates that the Reader has responded with a Reader Error
Code indicating why the operation had failed. The table of Reader Error Codes can then be referred to.
Table 6(a): List of Function Status (For serial communication)
Constant
Value
Description
1
COM_PORT_INIT_FAIL
0xC0
Fail to initialize the communication port
2
COM_PORT_WAS_NOT_INITIALIZED
0xC1
Before commands can be sent, the Com Port
has to be initialized
3
PURGE_COMM_FAILED
0xC2
Fail to clear the receive and transmit buffers for
the Com Port
4
SEND_CMD_FAILED
0xC3
Fail to execute sending of command
5
RECEIVE_DATA_FAILED
0xC4
Fail to execute receiving of data
6
INVALID_REPLY
0xC5
Received packet was not expected although the
footer and header were properly received, and
the checksum was correct
7
RECEIVE_FOOTER_WRONG
0xC6
Expected ETX, indicating the end of a packet,
was not received
8
RECEIVE_HEADER_WRONG
0xC7
Expected STX, indicating the start of a packet,
was not received
9
DEVICE_ID_MISMATCH
0xC8
Host sends a command to Device A. Packet
received indicates reply was from Device B.
(Indicate that the Host-received reply was not
from the Reader the Host had earlier sent a
command to).
10
HOST_ID_MISMATCH
0xC9
Host receives a packet from Reader that is
addressed to another Host. If there is only one
Host in the system, this may indicate a
corrupted packet.
11
CRC_MISMATCH_AT_HOST
0xCA
CRC performed and derived at the Host side for
the received packet does not match that of the
received packet
12
ZERO_BYTE_RECEIVED
0xCB
No data was received from Reader for
command that was sent out (time-out).
13
FAL_RECEIVED
0xCC
Error Code received from Reader. Check the
returned Error Code.
14
NAK_RECEIVED
0xCD
Not-Acknowledge received from Reader
(Reader is busy)
15
FAIL_TO_LOAD_CONVERT_DLL
0xCE
Fail to load the DLL needed to convert the
template to proper format