Memory & Data

Capability Container (CC)

A mandatory data structure in NFC Forum compliant tags that describes the tag's capabilities: memory size, read/write access, NDEF version, and maximum message size. Located at a fixed memory offset.

इसे भी जाना जाता है: CC capability container

Capability Container (CC)

The Capability Container is a mandatory 4-byte data structure stored at a fixed location in every NFC Forum compliant tag. It describes the tag's fundamental capabilities — NDEF version support, available memory size, and read/write access conditions. An NFC reader or NFC-enabled device reads the CC first to determine how to interact with the tag before accessing any user data.

CC Structure (Type 2 Tags)

For NFC Forum Type 2 tags (NTAG, MIFARE Ultralight), the CC occupies page 3 (bytes 12-15 in the linear memory map):

Byte Name Description
CC0 (byte 12) NDEF Magic Number 0xE1 indicates NDEF-formatted tag
CC1 (byte 13) Version + Access Upper nibble: NDEF version (1.0 = 0x10). Lower nibble: read/write access
CC2 (byte 14) Memory Size User memory size / 8. e.g., 0x12 = 144 bytes (NTAG 213)
CC3 (byte 15) Features Tag features (e.g., 0x00 = standard)

CC1 access nibble values: - 0x0: Read and write access granted without security - 0x0F: No write access (read-only tag) - Other values: Proprietary access conditions

CC in Type 4 Tags

Type 4 tags (MIFARE DESFire EV3, ST25TA) use a CC file rather than a fixed memory page. The CC file is an EF (Elementary File) with file ID 0xE103 that contains:

  • CCLEN: Total CC file length (15 or 17 bytes)
  • Mapping version: NDEF mapping version (2.0 for modern tags)
  • MLe: Maximum bytes readable in a single ReadBinary command
  • MLc: Maximum bytes writable in a single UpdateBinary command
  • NDEF file control TLV: File ID, maximum file size, and read/write access conditions for the NDEF data file

Why the CC Matters

The CC is the first thing an NFC stack reads after tag activation. Without a valid CC:

  1. The reader cannot determine if the tag contains NDEF data.
  2. The reader does not know how much user memory is available.
  3. Write operations may exceed memory boundaries, corrupting the tag.

A tag with a corrupted or missing CC (magic number not 0xE1) will be treated as unformatted by smartphone NFC stacks — the phone will detect the tag but will not parse any NDEF records from it.

Protection

The CC page should be protected with lock bits after initial NDEF formatting to prevent accidental overwrite. Most tag provisioning workflows lock the CC (static lock bit for page 3) as a final step. Since lock bits are OTP, this protection is permanent.

Related Terms

Related Guides

अक्सर पूछे जाने वाले प्रश्न

The NFC glossary is a comprehensive reference of technical terms, acronyms, and concepts used in Near Field Communication technology. It is designed for developers, product managers, and engineers who work with NFC and need clear definitions of terms like NDEF, APDU, anti-collision, and ISO 14443.

Each glossary term is cross-referenced with related NFC chips, standards, and other terms. For example, the term 'AES-128' links to chips that support AES encryption (NTAG 424 DNA, DESFire EV2/EV3), and the term 'ISO 14443' links to all chips compliant with that standard.

Yes. NFCFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai. Use the language selector in the header to switch languages.