Add methods to get ATR for a card or a link.

Implemented for both serial and PCSC readers.

Change-Id: Ic12e4b115d24a8b7e483a5603dd6cec90ad289cc
This commit is contained in:
Alexander Chemeris
2017-07-18 16:52:25 +03:00
parent dddbf525da
commit d2d660a935
3 changed files with 19 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ class SimCardCommands(object):
self._cla_byte = "a0"
self.sel_ctrl = "0000"
def get_atr(self):
return self._tp.get_atr()
@property
def cla_byte(self):
return self._cla_byte