← Back to the chapter · Previous detail · Next detail →

Technical detail · Practice: NFC Reader Simulation

Technology-specific activation commands

Model the activation sequence as distinct states so failure injection can name exactly where the workflow stopped:

  1. Field on and technology polling: the reader sends each technology’s poll command, such as REQA/WUPA for NFC-A or SENSF_REQ for NFC-F, and listens for a technology-specific response.
  2. Anti-collision: if more than one card answers, the reader resolves one UID or target identifier so it talks to exactly one device.
  3. Select and activate: the reader issues SELECT or the technology equivalent to put the resolved target into the active state.
  4. Protocol activation: for an NFC-A ISO-DEP card, the reader runs RATS to learn card capabilities; NFC-B uses its own activation procedure. A Type 4 exchange then uses ISO 7816-4 application protocol data units (APDUs), including application selection by application identifier (AID) and command/response pairs. A Type 2 memory read does not use that Type 4 APDU path.
  5. Release: the card is deactivated and the polling loop resumes.

← Back to the chapter · Previous detail · Next detail →