mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 14:58:35 +03:00
Parsing ajusted: respond to phone requests
This commit is contained in:
@@ -71,7 +71,7 @@ class SmartcardConnection:
|
||||
def send_receive_cmd(self, cmd):
|
||||
print("Cmd to SIM: " + HEX(cmd))
|
||||
hresult, resp = SCardTransmit(self.hcard, self.dwActiveProtocol,
|
||||
cmd.tolist())
|
||||
cmd)
|
||||
if hresult != SCARD_S_SUCCESS:
|
||||
raise SmartcardException('Failed to transmit: ' +
|
||||
SCardGetErrorMessage(hresult))
|
||||
|
||||
Reference in New Issue
Block a user