Salut Ludovic,
regarding the ATR database there is something already going in KDE, we try to identify automatically the cards by the ATR and then propose a suitable driver to handle it (for the moment only gsm and cyberflex are supported) The database format is just a simple text file accessed through kdelibs config file interface. just for your info in case you are interested. A+ Fernando > Hi, > > A new version of pcsc-tools 1.1.0 is available [1] ([2] for Debian). > > This release include an ATR_analysis(1) program to parse the ATR and > print (useful) information. I am not a ISO7816 expert so it may be > bugged, incomplete, etc. Any help welcome to improve it. > > Example: > $ ATR_analysis '3B A7 00 40 18 80 65 A2 08 01 01 52' > ATR: 3B A7 00 40 18 80 65 A2 08 01 01 52 > + TS = 3B --> Direct Convention > + T0 = A7, Y(1): 1010, K: 7 (historical bytes) > TB(1) = 00 --> Programming Param P: 0, I: 0 > TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0 > ----- > TC(2) = 18 --> Work waiting time: 960 x 24 x (Fi/F) > + Historical bytes: 80 65 A2 08 01 01 52 > > > This program is now automatically called by pcsc_scan(1) when a card is > inserted. Cool no? > > I plan to integrate an ATR database and I am working on the database > format. It should be a simple text file generic enough to be reused by > other projects. > > Bye, > > [1] http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools.html > [2] http://packages.debian.org/pcsc-tools *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
