laforge uploaded patch set #2 to this change.

View Change

Prepare for decoding/encoding records differently based on record number

In their infinite wisdom, the authors of the EIRENE FFFIS for GSM-R SIM
cards invented yet a new way of encoding data in SIM card files: The
first record of a file may be encoded differently than further records
of files.

Let's add the required infrastructure to pySim so that the encode and
decode methods for record-oriented files get passed in the current
record number.

Change-Id: I02d6942016dd0631b21d1fd301711c13cb27962b
Related: OS#5784
---
M pySim/apdu/ts_102_221.py
M pySim/filesystem.py
M pySim/sysmocom_sja2.py
M pySim/ts_102_221.py
M pySim/ts_31_102.py
M pySim/ts_31_103.py
M pySim/ts_51_011.py
7 files changed, 46 insertions(+), 42 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/55/31055/2

To view, visit change 31055. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I02d6942016dd0631b21d1fd301711c13cb27962b
Gerrit-Change-Number: 31055
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset