mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-11-07 12:46:18 +03:00
fix
Change-Id: I1af2fd04ba935fc70a2306342eeb247d941c67af
This commit is contained in:
1 parent
d7f4d20471
commit
c74d7fbd0d
1 file changed
+2
@@ -302,6 +302,8 @@ class LinkBaseTpdu(LinkBase):
|
||||
prev_tpdu = tpdu
|
||||
data, sw = self.send_tpdu(tpdu)
|
||||
log.debug("T0: case #%u TPDU: %s => %s %s", case, tpdu, data or "(no data)", sw or "(no status word)")
|
||||
if sw is None:
|
||||
raise ValueError("no status word received")
|
||||
|
||||
# After sending the APDU/TPDU the UICC/eUICC or SIM may response with a status word that indicates that further
|
||||
# TPDUs have to be sent in order to complete the task.
|
||||
|
||||
Reference in new issue
Block a user