NXP Semiconductors
NT4H1321
NTAG 413 DNA Secure Unique NFC Message for direct access to web services
NT4H1321_SDS All information provided in this document is subject to legal disclaimers. © NXP B.V. 2017. All rights reserved.
Product short data sheet Rev. 3.2 — 12 October 2017
COMPANY PUBLIC 400232 9 / 16
Communication mode Bit
representation
Explanation
CommMode.Full 11 Full protection for integrity, authenticity and
confidentiality
The communication mode defines the level of security for the communication between
PCD and PICC.
At application and PICC level, the communication mode is defined by the command itself,
as specified in the following table 7. The specified communication mode is applied if
there is an active authentication regardless of whether this authentication is required by
the command or not.
At file level, the communication mode is defined by the file. The specified communication
mode is applied if there is an active authentication. Note however that, under an
active authentication, if the only valid access condition for a certain access right is free
access (0xE), CommMode.Plain is to be applied. The commands for authentication
and changing keys have their own secure messaging rules, as indicated by N/A (not
applicable) in Table 6. If there is no active authentication, the command and response
are sent in plain (or the command is rejected in the case an authentication is required).
Table 6. Overview of expected command Communication Mode for secure messaging
Command Communication mode
Cmd.AuthenticateFirst N/A (command specific)
Cmd.AuthenticateNonFirst N/A (command specific)
Cmd.ChangeFileSetting CommMode.Full
Cmd.ChangeKey N/A (command specific)
Cmd.ReadNFCCounter CommMode.Full
Cmd.GetFileSetting CommMode.MAC
Cmd.GetKeyVersion CommMode.MAC
Cmd.GetVersion CommMode.MAC
Cmd.ReadData CommMode of targeted file.
Cmd.SetConfiguration CommMode.Full
Cmd.WriteData CommMode of targeted file.
9 Supported commands and APDUs
Table 7. NTAG413 DNA APDUs
Command C-APDU (hex) R-APDU
INS CLA INS P1 P2 Lc Data Le Data SW1
SW2
Cmd.SELECT 00 A4 XX XX XX Data to send XX response 9000
Cmd.READ BINARY 00 B0 XX XX - - XX response 9000
Cmd.UPDATE BINARY 00 D6 XX XX XX Data to write - - 9000
Cmd.AuthenticateFirst 90 71 00 00 XX Reference
data
00 Data 9100
Cmd.AuthenticateNonFirst 90 77 00 00 XX Data 00 Data 9100
Cmd.ChangeFileSetting 90 5F 00 00 XX Data 00 Data 9100