mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-23 16:58:33 +03:00
phone.py: do not change state to WAIT_RST after responding to file select command
This commit is contained in:
@@ -133,8 +133,7 @@ def send_response(dev, cmd):
|
|||||||
0x83, 0x8A]
|
0x83, 0x8A]
|
||||||
SW = [0x90, 0x00]
|
SW = [0x90, 0x00]
|
||||||
resp = [cmd[INS]] + data + SW # Respond with INS byte
|
resp = [cmd[INS]] + data + SW # Respond with INS byte
|
||||||
#resp = SW # Respond with INS byte
|
#state = WAIT_RST
|
||||||
state = WAIT_RST
|
|
||||||
else:
|
else:
|
||||||
print("Unknown cmd")
|
print("Unknown cmd")
|
||||||
resp = [0x60, 0x00]
|
resp = [0x60, 0x00]
|
||||||
|
|||||||
Reference in New Issue
Block a user