Grabba Driver for Android
Unified driver for Grabba devices on the Android operating system
ErrorCode.Code Enum Reference

Description

Set of supported error codes.

Note
The position and ordering of these enumerators is likely to change, with the exception of NO_ERROR, which should always have an underlying representation of 0 and be the lowest-numbered value in the type. Any code which uses the ErrorCode class must not make assumptions about the underlying value or ordering of any of the other enumerators; codes must only be accessed using the enumerator names rather than raw values.

Public Attributes

 AUTHENTICATION_FAILED
 Operation failed due to authentication not succeeding.
 
 DEVICE_BUSY
 Operation failed due to the hardware being busy with another request.
 
 DRIVER_NOT_OPEN
 Operation failed because the driver had not previously been opened.
 
 FUNCTION_NOT_SUPPORTED
 Operation failed because the current hardware does not have the necessary capability.
 
 ILLEGAL_ARGUMENT
 Operation failed due to an illegal argument being supplied.
 
 INTERNAL_ERROR
 Operation failed due to an internal error in the driver.
 
 IO_ERROR
 Operation failed due to a low-level input/output error.
 
 NO_ERROR
 No error was detected; continue processing.
 
 NO_EXCLUSIVE_ACCESS
 Operation failed due to lack of exclusive access to the hardware.
 
 NOT_CONNECTED
 Operation failed because the driver did not have a connection to the device, or the existing connection was lost.
 
 PROXCARD_COLLISION
 Proxcard operation failed due to a collision between transmissions
 
 PROXCARD_NO_CARD_IN_FIELD
 Proxcard operation failed due to there not being a card in the reader's field
 
 SMARTCARD_ALREADY_POWERED
 An attempt was made to power up a smart card which had already been powered up.
 
 SMARTCARD_ERROR
 error response was received from smart card or smart card reader
 
 SMARTCARD_INTERFACE_NOT_PRESENT
 Smartcard operation was requested on an interface that isn't present in the connected Grabba device
 
 SMARTCARD_NO_CARD_IN_INTERFACE
 Smartcard operation on an interface which doesn't contain a card, or card was removed mid-operation
 
 SMARTCARD_NOT_POWERED
 Data exchange was requested to a smart card which had not been powered up.
 
 SMARTCARD_PPS_NOT_PERMITTED
 Smart card PPS exchange was requested at an invalid time (i.e. after other PPS or APDU exchange request(s))
 
 SMARTCARD_PPS_REJECTED
 One or more of the parameters in a smart card PPS request was rejected by the Grabba device or the smart card.
 
 SMARTCARD_TIMEOUT
 Response was not received from a smart card within the allocated time period.