title: APDU 6E00 status for every class
body: <p>I am new to APDU and smartcard communications and I can't figure out how to successfully send APDU commands. When I try for example this command:</p>
  
  <pre><code>00 A4 00 00 02 3F 00 00
  </code></pre>
  
  <p>I get a <code>6E 00</code> response. I tried to figure out which class I had to use for my card, but for every class I tried in in the range <code>00-FF</code>, I always get the 'Class not supported' error.</p>
  
  <p>I figured this maybe has to do with some authentication in the card, but I have no idea how to do this right.</p>
  
  <p>I used the following Python (pyscard) code:</p>
  
  <pre><code>from smartcard.System import readers
  from smartcard.util import toHexString
  
  r = readers()
  con = r[0].createConnection()
  con.connect()
  
  for c in range(0x00, 0xFF):
      comm = [c, 0xA4, 0x00, 0x00, 0x02, 0x3F00, 0x00]
      data, sw1, sw2 = con.transmit(comm)
  
      if sw1 != 0x6e:
          print comm
          print 'Response:'
          print data, '\n'
          print 'Status:'
          print '%x %x' % (sw1, sw2)
  </code></pre>
  
  <p><b>EDIT:</b>
  The ATR of the card is <code>3B 04 49 32 43 2E</code></p>