laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/pysim/+/35252?usp=email )

Change subject: euicc: the ICCID TLV object uses bcd-swapped-nibble encoding
......................................................................

euicc: the ICCID TLV object uses bcd-swapped-nibble encoding

Change-Id: I050f9e0fb128f3e1d472e2330b136a753794a5a1
---
M pySim/euicc.py
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved




diff --git a/pySim/euicc.py b/pySim/euicc.py
index c74ca66..58d19f1 100644
--- a/pySim/euicc.py
+++ b/pySim/euicc.py
@@ -149,7 +149,7 @@
 class NotificationAddress(BER_TLV_IE, tag=0x82):
     _construct = Utf8Adapter(GreedyBytes)
 class Iccid(BER_TLV_IE, tag=0x5a):
-    _construct = HexAdapter(GreedyBytes)
+    _construct = BcdAdapter(GreedyBytes)
 class NotificationMetadata(BER_TLV_IE, tag=0xbf2f, nested=[SeqNumber, 
ProfileMgmtOperation,
                                                            
NotificationAddress, Iccid]):
     pass

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/35252?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: I050f9e0fb128f3e1d472e2330b136a753794a5a1
Gerrit-Change-Number: 35252
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to