diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-07-27 11:46:26 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-07-28 10:14:19 +0200 |
commit | 162ba3af3e08ae4396880629b0686b4e7bc3aa55 (patch) | |
tree | 5ae7ea67560aa910e8c8f2f412f4f54a9bfa7290 /pySim/apdu_source/gsmtap.py | |
parent | 1f46f07e3c1d793ca334520786fad4ec90e83916 (diff) |
pySim-trace: mark card reset in the trace
The trace log currently does not contain any information about card
resets. This makes the trace difficult to follow. Let's use the
CardReset object to display the ATR in the trace.
Related: OS#6094
Change-Id: Ia550a8bd2f45d2ad622cb2ac2a2905397db76bce
Diffstat (limited to 'pySim/apdu_source/gsmtap.py')
-rw-r--r-- | pySim/apdu_source/gsmtap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/apdu_source/gsmtap.py b/pySim/apdu_source/gsmtap.py index fe450e2..aaf97ad 100644 --- a/pySim/apdu_source/gsmtap.py +++ b/pySim/apdu_source/gsmtap.py @@ -49,7 +49,7 @@ class GsmtapApduSource(ApduSource): return ApduCommands.parse_cmd_bytes(gsmtap_msg['body']) elif sub_type == 'atr': # card has been reset - return CardReset() + return CardReset(gsmtap_msg['body']) elif sub_type in ['pps_req', 'pps_rsp']: # simply ignore for now pass |