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.
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:
- The reader cannot determine if the tag contains NDEF data.
- The reader does not know how much user memory is available.
- 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 Content
How to Read and Write NFC Tags
Getting Started…AUTHENTICATE for DESFire). 2. Format the tag if it has no capability container (first use). 3. Construct an NdefMessage with one or more…
NFC Troubleshooting Guide
Getting Started…not exceeded Memory Calculator No lock bits set Read CC byte 0x0A on Type 2 tags Antenna aligned Sweep slowly…
Python NFC Programming Guide
Programming…The tag.ndef attribute is None if the tag has no NDEF capability container or is not NDEF-formatted. All record types map to Python…
NDEF Specification Deep Dive
Advanced…Wrap in TLV 0x03 with correct length encoding. Write capability container first on fresh Type 2 tags. Verify with the NDEF Decoder…
NFC Tag Not Detected: Diagnosis Guide
Troubleshooting…Common NDEF faults: Fault Symptom on Android/iOS Fix Capability Container not written Tag detected, no Intent fired Format tag with…
NFC Write Failures and Recovery
Troubleshooting…mid-payload Capability container bytes corrupt Write hit CC area; tag likely unformattable NAK on every write command…
NFC Testing Methodology
Troubleshooting…Full uid + SAK Wrong SAK = wrong chip type READ block 0 Capability container bytes E1 10 xx 00 for Type 2 READ NDEF blocks TLV stream…
NFC Tag Encoding Best Practices
Troubleshooting…3 Blocks 4+ NTAG213 UID (7B) + check UID cont. + internal CC (4B) + lock NDEF data (144B usable) NTAG215 UID (7B) +…
자주 묻는 질문
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.