mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
apdu_split.py: Recover from failure in parsing on 0xa0
This commit is contained in:
@@ -108,7 +108,9 @@ class Apdu_splitter:
|
||||
INS_data_expected = [0xC0, 0xB0]
|
||||
|
||||
def split(self, c):
|
||||
print("state: ", self.state, c)
|
||||
if c == 0xA0:
|
||||
self.state = apdu_states.APDU_S_CLA
|
||||
# print("state: ", self.state, c)
|
||||
self.Apdu_S[self.state](self, c)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user