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


Change subject: saip-tool: Fix output of TAR values in "print" subcommand
......................................................................

saip-tool: Fix output of TAR values in "print" subcommand

Change-Id: Ifba1048e3000829d54769b0420f5134e2f9b04e1
---
M contrib/saip-tool.py
1 file changed, 12 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/87/37487/1

diff --git a/contrib/saip-tool.py b/contrib/saip-tool.py
index d73cc90..8208602 100755
--- a/contrib/saip-tool.py
+++ b/contrib/saip-tool.py
@@ -197,11 +197,13 @@
     print("Number of RFM instances: %u" % len(rfms))
     for rfm in rfms:
         inst_aid = rfm.decoded['instanceAID']
-        print("RFM instanceAID: %s (-> TAR: %s)" % (b2h(inst_aid), 
b2h(inst_aid[-3:])))
+        print("RFM instanceAID: %s" % b2h(inst_aid))
         print("\tMSL: 0x%02x" % rfm.decoded['minimumSecurityLevel'][0])
         adf = rfm.decoded.get('adfRFMAccess', None)
         if adf:
             print("\tADF AID: %s" % b2h(adf['adfAID']))
+        for tar in rfm.decoded['tarList']:
+            print("\tTAR: %s" % b2h(tar))

 def do_extract_apps(pes:ProfileElementSequence, opts):
     apps = pes.pe_by_type.get('application', [])

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37487?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: Ifba1048e3000829d54769b0420f5134e2f9b04e1
Gerrit-Change-Number: 37487
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to