Robert Falkenberg has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/23632 )


Change subject: Set uSIM to 'type approval operations' in EF['AD']
......................................................................

Set uSIM to 'type approval operations' in EF['AD']

Change-Id: Ie9040c6b127c268878a0845ed73d0918ec6bbb08
---
M pySim/cards.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/32/23632/1

diff --git a/pySim/cards.py b/pySim/cards.py
index 5eb2884..654d3fa 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -167,7 +167,7 @@
                if data.lower() == "ffffffff":
                        data = "00000000"

-               content = data[0:6] + "%02X" % mnclen
+               content = "80" + data[2:6] + "%02X" % mnclen
                data, sw = self._scc.update_binary(EF['AD'], content)
                return sw


--
To view, visit https://gerrit.osmocom.org/c/pysim/+/23632
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ie9040c6b127c268878a0845ed73d0918ec6bbb08
Gerrit-Change-Number: 23632
Gerrit-PatchSet: 1
Gerrit-Owner: Robert Falkenberg <robert.falkenb...@tu-dortmund.de>
Gerrit-MessageType: newchange

Reply via email to