mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-24 01:08:32 +03:00
sm_emul: ff 00 ff is the ans to ff 00 ff
This commit is contained in:
@@ -14,7 +14,7 @@ class SmartCardEmulator:
|
|||||||
if cmd[INS] == 0xA4:
|
if cmd[INS] == 0xA4:
|
||||||
resp = [0x9F, 0x16]
|
resp = [0x9F, 0x16]
|
||||||
elif cmd == [0xff, 0x00, 0xff]:
|
elif cmd == [0xff, 0x00, 0xff]:
|
||||||
resp = [0xff]
|
resp = cmd
|
||||||
elif len(cmd) == 5 and cmd[INS] == 0xC0:
|
elif len(cmd) == 5 and cmd[INS] == 0xC0:
|
||||||
data = self.ans_from_len[cmd[LEN]]
|
data = self.ans_from_len[cmd[LEN]]
|
||||||
SW = [0x90, 0x00]
|
SW = [0x90, 0x00]
|
||||||
|
|||||||
Reference in New Issue
Block a user