13 NFC Protocols: Mode Foundations
13.1 Start With the Decision
Name Who Starts the Tap and Who Decides
13.2 Route Overview
This is part 1 of 2. Continue with NFC Protocols: Handover Boundaries.
13.3 Part Objectives
- Test nfc as specialized hf rfid with a concrete scenario and pass criteria.
- Validate peer-to-peer mode with a concrete scenario and pass criteria.
13.4 Chapter Roadmap
- Start With the Story
- Key Concepts
- In 60 Seconds
- Quick Check: NFC Mode
- Prerequisites
- NFC as Specialized HF RFID
- Layer Separation Prevents Design Drift
- Operating Modes
- One Radio, Three Roles
- Phoebe’s Field Notes: Why 106/212/424 kbps Are Fractions of 13.56 MHz
- Eddie’s Math Bridge: Divide the 13.56 MHz Field Clock
- Reader/Writer Mode
- Card Emulation Mode
- Peer-to-Peer Mode
13.5 Start With the Story
Name Who Starts the Tap and Who Decides
Picture a phone that can read a poster but fails when asked to act like an access card. Both actions use a tap, yet they assign power, roles, data, and trust in different ways.
Near field communication, or NFC, lets nearby devices exchange small records. A protocol means the shared rules for that exchange. The operating mode says who starts, who answers, and which interface appears.
Trace one reader-to-tag flow and one phone-as-card flow. Record field owner, initiator, selected technology, data type, policy decision, and fallback. Try no target, two targets, an unsupported type, and a rejected record.
This runway does not make proximity equal to trust. The deeper sections explain operating modes, activation, tag technologies, record formats, handover, and the evidence each application needs.
The same phone can read a tag, emulate a card, or exchange data with another device, but those modes have different responsibilities. Confusing the mode usually means confusing who starts, who answers, and what evidence the system can trust.
Use this chapter to slow the tap into roles and protocols. Separate reader/writer, card emulation, peer-to-peer, handover, tag technology, and NDEF so each design decision has the right boundary.
13.7 Learning Objectives
By the end of this chapter, you will be able to:
- Compare reader/writer, card emulation, peer-to-peer, and handover boundaries without mixing their responsibilities.
- Separate RF interface, tag technology, NDEF payload, and application-policy layers.
- Describe polling, anti-collision, selection, and activation at the level needed for design review.
- Choose tag and NDEF patterns from application needs instead of assuming all NFC tags are interchangeable.
- Define release evidence for NFC flows, including device coverage, failure handling, fallback, and trust-boundary checks.
13.8 Quick Check: NFC Mode
13.9 Prerequisites
Before diving into this chapter, you should have completed:
- NFC Fundamentals: NFC range, tap intent, and the difference between active and passive participants.
- RFID Fundamentals: HF RFID concepts, tag selection, and reader-controlled timing.
13.10 NFC as Specialized HF RFID
NFC sits inside the HF RFID family, but it adds operating modes and application conventions that ordinary RFID systems do not always provide. A useful review starts by separating the layers before arguing about tag type or user experience.
Inspect NDEF message and Review bottom to top: in Figure 13.1 for nfc as specialized hf rfid. To test nfc as specialized hf rfid, follow the change from NDEF message to Review bottom to top: on it. The comparison reaches activate first, act after policy.
Read NDEF message with Review bottom to top: in Figure 13.1 for nfc as specialized hf rfid. Work through it by keeping NDEF message, Review bottom to top:, and activate first, act after policy as separate entries. Both NDEF message and Review bottom to top: need evidence. The running argument in nfc as specialized hf rfid therefore stays bounded.
An NFC tap can look simple to the user while several different layers are involved:
- RF and activation decide which nearby target is selected and which low-level protocol is active.
- Tag technology or card protocol decides whether the reader sees tag memory, ISO-DEP APDUs, or a peer link.
- NDEF provides a portable envelope for small records, but it does not prove that the payload is safe or authorized.
- Application policy maps the tap to an IoT action such as pairing, opening a maintenance record, selecting a device profile, or logging an inspection.
13.11 Operating Modes
NFC designs should name the mode first, then state who powers the field, who initiates commands, and where policy is enforced.
Inspect Near Field Communication Operating Modes (13.56 MHz) and NFC Technical Specifications in Figure 13.2 for operating modes. Before acting on operating modes, separate Near Field Communication Operating Modes (13.56 MHz) from NFC Technical Specifications using it. The conclusion depends on NFC Communication Modes | IEEE Color Palette.
Read Near Field Communication Operating Modes (13.56 MHz) with NFC Technical Specifications in Figure 13.2 for operating modes. Read its route starting at Near Field Communication Operating Modes (13.56 MHz), crossing NFC Technical Specifications, and closing on NFC Communication Modes | IEEE Color Palette. A failure at NFC Technical Specifications changes the route from Near Field Communication Operating Modes (13.56 MHz). This supplies operating modes with a concrete retest point.
13.12 One Radio, Three Roles
All NFC runs at 13.56 MHz over a few centimetres, but a single NFC chip can take different roles on different taps. A phone may read a poster tag in reader/writer mode, present a credential to a cabinet reader in card emulation mode, and exchange a setup token with another powered device through peer-to-peer or handover. The role switch changes who owns timing, who owns the RF field, and which software boundary must approve the result.
Inspect Reader / Writer and Peer To Peer in Figure 13.3 for one radio, three roles. To ground one radio, three roles, set Reader / Writer against Peer To Peer with it. Owner: issuer/verifier policy makes the purpose concrete.
Read Reader / Writer with Peer To Peer in Figure 13.3 for one radio, three roles. Move through it from Reader / Writer through Peer To Peer to Owner: issuer/verifier policy. That ordering makes Owner: issuer/verifier policy depend on Reader / Writer. This supplies one radio, three roles with a concrete retest point.
Use an IoT commissioning review as the concrete test. If a phone taps a gateway label to open https://ops.example/setup/GW-142, the phone is in reader/writer mode and the passive label only supplies a small record. The app must still validate the URI, bind it to an authenticated technician session, and ask policy whether this gateway can be configured.
If the same phone is presented to a cabinet reader as a service credential, it is in card emulation mode. The reader powers the field, sends commands, and the phone answers only if the credential application allows that reader application. If two powered devices exchange a setup token, peer-to-peer or handover may apply, but the follow-on Bluetooth, Wi-Fi, Thread, or backend session carries the durable connection.
A useful mode decision names four things before release: the physical role, the payload type, the policy owner, and the fallback. For reader/writer, fallback might be a printed asset ID. For card emulation, fallback might be a manual credential check or denied-entry message. For handover, fallback might be a setup code when the follow-on carrier fails.
The data-rate discussion rests on the carrier and coupling mechanism, not just three memorised numbers. Inspect Figure 13.4 to place the labelled 13.56 MHz reader beside the tag’s Antenna coil before following the protocol timing.
Read Figure 13.4 from the magnetic field (near-field coupling) between the reader and Contactless Card / Tag to its explicit conclusion, Like a transformer, not a radio link. A passive tag harvests energy from that overlapping field and replies by load modulation rather than launching an independent travelling wave. That physical account connects back to the chapter’s rates: the protocol’s subcarrier and coding choices are organized around the 13.56 MHz field, while successful operation still depends on coil overlap and coupling.
13.13 Reader/Writer Mode
Reader/writer mode is the default pattern for smart posters, asset tags, commissioning labels, maintenance tags, and many IoT field workflows. The reader creates the RF field, polls for targets, activates one tag, and performs reads or writes. The tag responds only when selected and powered by the reader field.
Use reader/writer mode when the physical object can carry a passive tag and the application can treat the tap as an input signal. The tag can hold a short identifier, a URI, a configuration hint, or a small signed payload. It should not be treated as the authority for high-impact decisions unless the application verifies the data and the deployment threat model supports that choice.
13.14 Card Emulation Mode
Card emulation mode lets a device respond to an external reader as if it were a contactless card. The external reader still controls the RF field and command timing. The emulating device decides, through its local policy and credential storage model, whether it can answer the requested application.
Use card emulation when the environment already has readers that expect card behavior, such as access terminals, fare gates, equipment cabinets, or dedicated service tools. The important design question is not only “can the phone emulate a card?” but also “which application owns the credential, which reader applications are accepted, and how are failed or ambiguous taps handled?”
13.15 Peer-to-Peer Mode
Peer-to-peer mode uses NFCIP-1 so two active devices can exchange data over an NFC link. LLCP provides a link layer for peer services, and SNEP is one way to exchange NDEF messages over that link.
The two powered peers first negotiate a link they can both implement. The initiator proposes communication parameters during activation; the target answers with its capabilities. The agreed values bound data rate, active or passive communication behavior, timing, and the maximum information field that can be carried in one protocol data unit. In the classic teaching profile, the data block is at most 256 bytes. That is a block limit, not a promise of 256 bytes of application payload: protocol control and framing consume part of the exchange, and a larger message needs segmentation, acknowledgements, and recovery.
Walk a short setup exchange:
- Discover and activate. One device polls, the other answers, and anti-collision leaves one target selected.
- Negotiate. The peers agree parameters that fit both endpoints, including the maximum data unit they will accept.
- Bind a service. LLCP identifies the peer service; SNEP or another agreed protocol carries the small record.
- Exchange setup evidence. Send a carrier choice, device identifier, ephemeral public key, nonce, or setup token—not an unbounded media object.
- Confirm the boundary. Both applications validate the record, user intent, freshness, and authorization before enabling another radio.
- Transfer elsewhere. Bluetooth or Wi-Fi owns the longer-range or higher-bandwidth session, including its own key establishment, retry, reconnect, and throughput behavior.
For example, an NFC tap can identify a speaker and carry authenticated Bluetooth handover data. The devices then stop treating NFC as the transport and establish the audio link over Bluetooth. This reduces discovery and device-selection friction, but proximity is not authorization: the application still has to reject stale or substituted handover records and make failure visible.
Do not assume general-purpose phone-to-phone P2P is available in a deployed device. Many systems instead use NFC for a small handover message and move the longer session to Bluetooth, Wi-Fi, Thread commissioning, or an application backend. Treat P2P as a specific capability to verify, not as something every NFC device will expose to applications.
13.16 Continue to the Next Part
Carry this evidence into NFC Protocols: Handover Boundaries, which begins with Handover Boundary.
