Card functions¶
-
atr
()¶ Reset inserted card and get ATR.
Returns: str the card ATR Note
This command should be executed between opening a terminal and sending other card-related commands.
-
card
()¶ Reset inserted card, get ATR and select the Issuer Security Domain
Returns: str the card ATR Note
This command should be executed between opening a terminal and sending other card-related commands.
-
change_protocol
(protocol)¶ Set the protocol to select during the next card reset
Parameters: protocol (str) – The protocol to select. The value could be ‘T0’ (T=0), ‘T1’ (T=1), ‘RAW’ (Raw mode) or ‘Tx’ (T=1 or T=0))