NXP Reader Library  v17.1.0.2535

NTAG X DNA Native ISO 7816 Response Codes. More...

Collaboration diagram for ISO7816:

Macros

#define PHAL_NTAGXDNA_ISO7816_9000   0x9000U
 NTAGXDNA ISO7816 Response - Correct execution.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6300   0x6300U
 NTAGXDNA ISO7816 Response - Verification of host signature failed.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6700   0x6700U
 NTAGXDNA ISO7816 Response - Wrong or inconsistent APDU length.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6982   0x6982U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6984   0x6984U
 NTAGXDNA ISO7816 Response - ECC-based Card-Unilateral Authentication disabled via the key policy of the targeted key.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6985   0x6985U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6987   0x6987U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6988   0x6988U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6A80   0x6A80U
 NTAGXDNA ISO7816 Response - Invalid command data format.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6A82   0x6A82U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6A86   0x6A86U
 NTAGXDNA ISO7816 Response - Multiple descriptions, refer below. More...
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6A87   0x6A87U
 NTAGXDNA ISO7816 Response - Wrong parameter LC inconsistent with P1-P2.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6A88   0x6A88U
 NTAGXDNA ISO7816 Response - Wrong parameter P2: Key targeted by PrivKeyNo does not exist.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6C00   0x6C00U
 NTAGXDNA ISO7816 Response - Wrong Le: expected length insufficient for response data.
 
#define PHAL_NTAGXDNA_ISO7816_ERR_6E00   0x6E00U
 NTAGXDNA ISO7816 Response - Wrong Class byte.
 

Detailed Description

NTAG X DNA Native ISO 7816 Response Codes.

Note

Macro Definition Documentation

◆ PHAL_NTAGXDNA_ISO7816_ERR_6982

#define PHAL_NTAGXDNA_ISO7816_ERR_6982   0x6982U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • Security status not satisfied: no access allowed as Read and ReadWrite access rights are different from 0xE and SDMFileRead (if SDM enabled) access right is set to 0xF
  • Security status not satisfied: SDMReadCtr overflow
  • Security status not satisfied: Targeted file cannot be read in VCState.NotAuthenticated as the related SDMReadCtr is equal or bigger than its SDMRead CtrLimit
  • Security status not satisfied: only free write with Write or ReadWrite equal to 0xE is allowed
  • Security status not satisfied: AuthenticatedAES not allowed
  • Security status not satisfied: AuthenticatedECC not allowed

◆ PHAL_NTAGXDNA_ISO7816_ERR_6985

#define PHAL_NTAGXDNA_ISO7816_ERR_6985   0x6985U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • File empty
  • Access conditions not satisfied
  • Wrapped chained command or multiple pass command ongoing
  • Not supported at PICC level
  • Key usage counter enabled and limit reached
  • Protocol option requested is not supported
  • Originality Check with key 0x1 at PICC level disabled due to enhanced privacy configuration
  • Current state different from VCState.NotAuthenticated
  • ECC-based Card-Unilateral Authentication disabled over NFC interface
  • ECC-based Card-Unilateral Authentication disabled over I2C interface
  • KeyUsageCtrLimit enabled for targeted key has been reached
  • No file selected
  • Attempt to write beyond the file boundary as set during creation
  • Targeted file with ISO FileID 0xEF01 at PICC level, while Originality Check is disabled
  • Trying to readSDMSIG while the KeyUsageCtrLimit of the targeted key entry is enabled and reached

◆ PHAL_NTAGXDNA_ISO7816_ERR_6987

#define PHAL_NTAGXDNA_ISO7816_ERR_6987   0x6987U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • Expected DO missing
  • Unexpected DO received.

◆ PHAL_NTAGXDNA_ISO7816_ERR_6988

#define PHAL_NTAGXDNA_ISO7816_ERR_6988   0x6988U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • Invalid host ephemeral public key
  • Host message decryption failed

◆ PHAL_NTAGXDNA_ISO7816_ERR_6A82

#define PHAL_NTAGXDNA_ISO7816_ERR_6A82   0x6A82U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • Certificate level requested is invalid or certificate has already been requested
  • File not found
  • Application or file not found, currently selected application remains selected

◆ PHAL_NTAGXDNA_ISO7816_ERR_6A86

#define PHAL_NTAGXDNA_ISO7816_ERR_6A86   0x6A86U

NTAGXDNA ISO7816 Response - Multiple descriptions, refer below.

  • Wrong parameters P1 and or P2.
  • Wrong parameter P1: different from 0x00
  • Wrong parameter P2: RFU bits set