ATR list study
Since 2002 I maintain a list of ATR (Answer-to-Reset). The idea is to identify a smart card given its ATR.
The project started as a Perl script (ATR_analysis from the pcsc-tools project), then moved into a Python script (parseATR.py from parseATR sub-project of pyscard-contrib) and is now a online web application: Smart card ATR parsing.
I now have 2098 ATRs in my list and I think it is time to make some statistics.
ArticlesThis article is a meta article (as I did with "CCID descriptor statistics") and contains only pointers to other articles:
- ATR list growth
- TS - Initial character
- T0 - Format byte
- TA1 - Global, encodes Fi and Di
- TB1 - Global, deprecated
- TC1 - Global, encodes N
- TD1 - Structural, encodes Y2 and T
- TA2 - Global, specific mode byte
- TB2 - Global, deprecated
- TC2 - Specific to T=0
- TD2 - Structural, encodes Y3 and T
- TA3 - Specific to T after T from 0 to 14 in TDi–1
- TB3 - Global after T=15 in TDi–1
- TD3 - Structural, encodes Y4 and T
- TB4 - Global after T=15 in TDi–1
- Historical bytes - Historical bytes (optional)
- TCK - Check byte TCK (conditional)
DocumentationYou can read the Wikipedia pages about Answer-to-Reset and ISO 7816.
Or you can pay 178 CHF (162 €) to buy and read the ISO 7816-3 document (the price is the same for a PDF version or a printed version on dead trees).
Yes, I find it stupid to have to pay to read standards. Luckily the Internet is build upon free (as in free beer) Request for Comments (RFC) from The Internet Engineering Task Force (IETF®) and not ISO protocols. But that is not the subject of this article.