nfc_result_t
NFC status code.
Synopsis:
#include <nfc/nfc_types.h> typedef enum { NFC_RESULT_SUCCESS = 0x00 NFC_RESULT_INVALID_PARAMETER = 0x01 NFC_RESULT_FEATURE_NOT_IMPLEMENTED = 0x02 NFC_RESULT_UNSUPPORTED_API = 0x03 NFC_RESULT_LOCKED = 0x04 NFC_RESULT_LIMITATION_EXCEEDED = 0x05 NFC_RESULT_OPERATION_NOT_SUPPORTED = 0x06 NFC_RESULT_OPERATION_REJECTED = 0x07 NFC_RESULT_SERVICE_CONNECTION_ERROR = 0x08 NFC_RESULT_P2P_REJECTED = 0x09 NFC_RESULT_TIMEOUT = 0x0A NFC_RESULT_RESOURCE_BUSY = 0x0B NFC_RESULT_NOT_ENOUGH_SPACE = 0x0C NFC_RESULT_OUT_OF_MEMORY = 0x0D NFC_RESULT_FD_ACCESS_ERROR = 0x0E NFC_RESULT_LOCK_FAILED = 0x30 NFC_RESULT_WRITE_FAILED = 0x31 NFC_RESULT_READ_FAILED = 0x32 NFC_RESULT_NOT_NFC_TAG_BUT_CAPABLE = 0x33 NFC_RESULT_TAG_NOT_SUPPORTED = 0x34 NFC_RESULT_BAD_NDEF_FORMAT = 0x35 NFC_RESULT_SE_INPUT_TOO_SHORT = 0x60 NFC_RESULT_SE_INVALID_HANDLE = 0x61 NFC_RESULT_SE_SERVICE_NOT_READY = 0x62 NFC_RESULT_SE_OUT_OF_LOGICAL_CHANNELS = 0x63 NFC_RESULT_SE_AID_NOT_FOUND = 0x64 NFC_RESULT_SE_INVALID_APDU = 0x65 NFC_RESULT_SE_NOT_PRESENT = 0x66 NFC_RESULT_SE_REQUEST_REJECTED = 0x67 NFC_RESULT_SE_INVALID_SERVICE = 0x68 NFC_RESULT_SE_SERVICES_MANAGER_NOT_INITIALIZED = 0x69 NFC_RESULT_SE_MISSING_SERVICE_INFORMATION = 0x6A NFC_RESULT_UNHANDLED_ERROR = 0xFE NFC_RESULT_ERROR = 0xFF } nfc_result_t;
Since:
BlackBerry 10.0.0
Data:
- NFC_RESULT_INVALID_PARAMETER
- An error occurred because an invalid parameter was provided or the parameter is invalid in the feature set used.
- NFC_RESULT_FEATURE_NOT_IMPLEMENTED
- An error occurred because a non-existent or unimplemented function was called.
- NFC_RESULT_UNSUPPORTED_API
- An error occurred because an unsupported or deprecated function was called.
- NFC_RESULT_LOCKED
- An error occurred because an attempt was made to access a locked resource, such as a locked tag/SE.
- NFC_RESULT_LIMITATION_EXCEEDED
- An error occurred because an attempt to exceed a defined resource limitation was made.
- NFC_RESULT_OPERATION_NOT_SUPPORTED
- An error occurred because a user operation is not supported by the remote connection.
- NFC_RESULT_OPERATION_REJECTED
- An error occurred because a user operation is not possible in the current state.
- NFC_RESULT_SERVICE_CONNECTION_ERROR
- An error occurred because the NFC client is unable to communicate with NFC service.
- NFC_RESULT_P2P_REJECTED
- An error occurred because the remote peer does not support user-requested services.
- NFC_RESULT_RESOURCE_BUSY
- An error occurred because the NFC stack is busy and cannot execute the user request.
- NFC_RESULT_OUT_OF_MEMORY
- An error has occurred because the NFC service is not able to allocate enough memory for the operation.
- NFC_RESULT_WRITE_FAILED
- An error occurred while writing to a tag or during a Logical Link Control Protocol (LLCP) write.
- NFC_RESULT_NOT_NFC_TAG_BUT_CAPABLE
- An error occurred because the remote tag isn't NFC compliant, however, the remote tag can be formatted.
- NFC_RESULT_SE_INVALID_HANDLE
- An NFC Security error occurred because the handle provided wasn't valid.
- NFC_RESULT_SE_SERVICE_NOT_READY
- An NFC Security error occurred; the Secure element service was not initialized.
- NFC_RESULT_SE_OUT_OF_LOGICAL_CHANNELS
- An NFC Security error occurred because no logical channels were available.
- NFC_RESULT_SE_INVALID_APDU
- The Application Data Unit (APDU) that was provided is malformed or invalid.
- NFC_RESULT_SE_REQUEST_REJECTED
- The request was rejected by the Access Control files (ACF), or some other security mechanism.
- NFC_RESULT_SE_SERVICES_MANAGER_NOT_INITIALIZED
- An operation was attempted while the SE Services Manager was not initialized.
Library:
libnfc (For the qcc command, use the -l nfc option to link against this library)Description:
This enumeration defines the Near Field Communication (NFC) status codes supported.
Last modified: 2014-05-14