Change in pysim[master]: Add option to set UE operation mode in EF_AD (Administrative Data)

laforge gerrit-no-reply at lists.osmocom.org
Tue Apr 6 15:59:22 UTC 2021


laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/23632 )

Change subject: Add option to set UE operation mode in EF_AD (Administrative Data)
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.osmocom.org/c/pysim/+/23632/1//COMMIT_MSG 
Commit Message:

https://gerrit.osmocom.org/c/pysim/+/23632/1//COMMIT_MSG@7 
PS1, Line 7: S
> Good question. The default value depends on the targeted group that uses this software. […]
The best option today would probably be not to overload pySim-prog with more cryptic command line flags but to support this form pySim-shell, if it's not already supported there.

Preliminary docs: https://people.osmocom.org/laforge/tmp/pysim-doc-test/html/shell.html

It looks like ts_51_011.py already has an AF_AD() class that can do a decode.  All that's missing is the corresponding encode method, and then you should be able to interactively change that file with read_binary_decoded and update_binary_decoded from pySim-shell.

Api docs: https://people.osmocom.org/laforge/tmp/pysim-doc-test/html/library.html#module-pySim.filesystem

And don't worry about the fall-out. You just hit a long-known problem in our CI system with real sim cards: The need to do proper backup-restore of all cards to have a well-defined initial state ahead of executing a test.  The related functionality has just been added to pySim-shell (the "export" command which creates a script of update_binary / update_record commands which can be executed by pySim-shell itself again.



-- 
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: 6
Gerrit-Owner: Robert Falkenberg <robert.falkenberg at tu-dortmund.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Comment-Date: Tue, 06 Apr 2021 15:59:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge at osmocom.org>
Comment-In-Reply-To: Robert Falkenberg <robert.falkenberg at tu-dortmund.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210406/f11da3f4/attachment.htm>


More information about the gerrit-log mailing list