Skip to content

Commit f9409de

Browse files
committed
USIM: export SELECT_ADF_USIM() as a function for the user
The user might want to select ADF.USIM at any later point during a longer dialogue with the card (e.g. when the user was in a diferent DF or the MF). Hence, it's a good idea to export this function.
1 parent 64584ea commit f9409de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

card/USIM.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ def __init__(self):
158158
log(3, '(UICC.__init__) type definition: %s' % type(self))
159159
log(3, '(UICC.__init__) CLA definition: %s' % hex(self.CLA))
160160

161+
self.SELECT_ADF_USIM()
162+
163+
def SELECT_ADF_USIM(self):
161164
# USIM selection from AID
162165
if self.dbg:
163166
log(3, '(USIM.__init__) UICC AID found:')

0 commit comments

Comments
 (0)