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:
Harald Welte
2021-04-10 10:55:24 +02:00
parent 4145d3c4af
commit c34f9405f1
5 changed files with 5 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ class LinkBase(object):
data : string (in hex) of returned data (ex. "074F4EFFFF")
sw : string (in hex) of status word (ex. "9000")
"""
pass
return self._send_apdu_raw(pdu)
def send_apdu(self, pdu):
"""Sends an APDU and auto fetch response data