laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/36777?usp=email )


Change subject: pySim-trace: Support decoding of eUICC traces
......................................................................

pySim-trace: Support decoding of eUICC traces

Let's register the ISD-R and ECASD applications so we avoid the warnings
printed when processing an eUICC protocol trace:

WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID 
a0000005591010ffffffff8900000100

Change-Id: I362a1a7f12d979ff0b7971d5300db9ed56bb1ee5
---
M pySim-trace.py
1 file changed, 17 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/77/36777/1

diff --git a/pySim-trace.py b/pySim-trace.py
index 91f50a3..be1d40b 100755
--- a/pySim-trace.py
+++ b/pySim-trace.py
@@ -14,6 +14,7 @@
 from pySim.ts_102_221 import CardProfileUICC
 from pySim.ts_31_102 import CardApplicationUSIM
 from pySim.ts_31_103 import CardApplicationISIM
+from pySim.euicc import CardApplicationISDR, CardApplicationECASD
 from pySim.transport import LinkBase

 from pySim.apdu_source.gsmtap import GsmtapApduSource
@@ -78,6 +79,8 @@
         profile = CardProfileUICC()
         profile.add_application(CardApplicationUSIM())
         profile.add_application(CardApplicationISIM())
+        profile.add_application(CardApplicationISDR())
+        profile.add_application(CardApplicationECASD())
         scc = SimCardCommands(transport=DummySimLink())
         card = UiccCardBase(scc)
         self.rs = RuntimeState(card, profile)

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36777?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I362a1a7f12d979ff0b7971d5300db9ed56bb1ee5
Gerrit-Change-Number: 36777
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to