-
12.8 Error Code
There are two types of error codes. One is returned by RFID Library interface indicates RFID library
status and the other is return by the RFID module’s firmware contains access operation result.
RFID Library status and error codes:
Name Value
RFID_STATUS_OK 0
Success
RFID_ERROR_ALREADY_OPEN
-9999
Attempted to open a radio that is already open
RFID_ERROR_BUFFER_TOO_SMALL -9998
Buffer supplied is too small
RFID_ERROR_FAILURE -9997
General
failure
RFID_ERROR_DRIVER_LOAD
-9996
Failed to load radio bus driver
RFID_ERROR_DRIVER_MISMATCH
-9995
Library cannot use version of radio bus driver present
on system
RFID_ERROR_EMULATION_MODE -9994 Operation
cannot be performed while library is in
emulation mode
RFID_ERROR_INVALID_ANTENNA
-9993
Antenna number is invalid
RFID_ERROR_INVALID_HANDLE
-9992
Radio handle provided is invalid
RFID_ERROR_INVALID_PARAMETER -9991
One of the parameters to the function is invalid
RFID_ERROR_NO_SUCH_RADIO
-9990
Attempted to open a non-existent radio
RFID_ERROR_NOT_INITIALIZED
-9989
Library has not been successfully initialized
RFID_ERROR_NOT_SUPPORTED -9988 Function
not
supported
RFID_ERROR_OPERATION_CANCELL
ED
-9987
Operation was cancelled by call to cancel operation,
close radio, or shut down the library
RFID_ERROR_OUT_OF_MEMORY
-9986
Library encountered an error allocating memory
RFID_ERROR_RADIO_BUSY
-9985
The operation cannot be performed because the
radio is currently busy
RFID_ERROR_RADIO_FAILURE
-9984
The underlying radio module encountered an error
RFID_ERROR_RADIO_NOT_PRESENT -9983
The radio has been detached from the system
RFID_ERROR_CURRENTLY_NOT_ALL
OWED
-9982
The RFID library function is not allowed at this time
RFID_ERROR_RADIO_NOT_RESPON
DING
-9981
The radio module's MAC firmware is not responding
to requests
RFID_ERROR_NONVOLATILE_INIT_F
AILED
-9980
The MAC firmware encountered an error while
initiating the nonvolatile memory update. The MAC
firmware will return to its normal idle state without
resetting the radio module
RFID_ERROR_NONVOLATILE_OUT_O
F_BOUNDS
-9979
An attempt was made to write data to an address that
is not in the valid range of radio module nonvolatile
memory addresses.
RFID_ERROR_NONVOLATILE_WRITE
_FAILED
-9978
The MAC firmware encountered an error while trying
to write to the radio module's nonvolatile memory
region.
RFID_ERROR_RECEIVE_OVERFLOW -9977
The underlying transport layer detected that there
was an overflow error resulting in one or more bytes
of the incoming data being dropped. The operation
was aborted and all data in the pipeline was flushed.