mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-24 22:38:38 +03:00
transport: Make all calls go through base class send_apdu_raw()
This allows us to add APDU tracing at one central location in the code Change-Id: Id0593a2e6d846cc3151443f1022ae7ee030e6673
This commit is contained in:
@@ -97,7 +97,7 @@ class ModemATCommandLink(LinkBase):
|
||||
def wait_for_card(self, timeout=None, newcardonly=False):
|
||||
pass # Nothing to do really ...
|
||||
|
||||
def send_apdu_raw(self, pdu):
|
||||
def _send_apdu_raw(self, pdu):
|
||||
# Prepare the command as described in 8.17
|
||||
cmd = 'AT+CSIM=%d,\"%s\"' % (len(pdu), pdu)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user