FIX get_ATR for ISO 14443-3 B

henryk_github
Henryk Plötz 13 years ago
parent 6eaa66f534
commit 5baedf1e8e
  1. 2
      readers.py

@ -220,7 +220,7 @@ class ACR122_Reader(Smartcard_Reader):
else:
return "\x3b\x80\x80\x01\x01"
elif self._current_target.type == utils.PN532_Target.TYPE_ISO14443B:
hist_bytes = self._current_target.atqb[5:9] + self._current_target.atqb[5:12]
hist_bytes = self._current_target.atqb[5:12]
if len(self._current_target.attrib_res) > 0:
hist_bytes.append(self._current_target.attrib_res[0] & 0xf0)
else:

Loading…
Cancel
Save