<p><a href="https://gerrit.osmocom.org/c/pysim/+/23632">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/pysim/+/23632/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/pysim/+/23632/1//COMMIT_MSG@7">Patch Set #1, Line 7:</a> <code style="font-family:monospace,monospace">S</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Good question. The default value depends on the targeted group that uses this software. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">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.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Preliminary docs: https://people.osmocom.org/laforge/tmp/pysim-doc-test/html/shell.html</p><p style="white-space: pre-wrap; word-wrap: break-word;">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.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Api docs: https://people.osmocom.org/laforge/tmp/pysim-doc-test/html/library.html#module-pySim.filesystem</p><p style="white-space: pre-wrap; word-wrap: break-word;">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.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/23632">change 23632</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/23632"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie9040c6b127c268878a0845ed73d0918ec6bbb08 </div>
<div style="display:none"> Gerrit-Change-Number: 23632 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: Robert Falkenberg <robert.falkenberg@tu-dortmund.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 06 Apr 2021 15:59:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Comment-In-Reply-To: Robert Falkenberg <robert.falkenberg@tu-dortmund.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>