Change in pysim[master]: Set uSIM to 'type approval operations' in EF['AD']

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Robert Falkenberg gerrit-no-reply at lists.osmocom.org
Mon Apr 5 06:25:50 UTC 2021


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.falkenberg at tu-dortmund.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210405/9cc7d343/attachment.htm>


More information about the gerrit-log mailing list