diff options
author | Harald Welte <laforge@osmocom.org> | 2023-01-31 16:32:28 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-01-31 16:00:20 +0000 |
commit | 9181a69a554058ce6b38e7db14adb32e41557957 (patch) | |
tree | 4079850faccc3f8e8b80d367cc402d426079de12 /pySim/gsm_r.py | |
parent | 5924ec4d976d19e12263fc74636cf86a98605b6d (diff) |
gsm_r: EF_IC: Network String Table Index is 16bit, not 8bit
As per EIRENE GSM-R SIM-Card FFFIS, EF_IC conatains records of 1+2+2+2
bytes, the network string table index is 16bit and not 8bit as we
implemented so far.
Change-Id: I9e3d4a48b3cb6fb0ecf887b04c308e903a99f547
Diffstat (limited to 'pySim/gsm_r.py')
-rw-r--r-- | pySim/gsm_r.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/gsm_r.py b/pySim/gsm_r.py index edb5193..78c9ad9 100644 --- a/pySim/gsm_r.py +++ b/pySim/gsm_r.py @@ -211,7 +211,7 @@ class EF_IC(LinFixedEF): self._construct = Struct('next_table_type'/NextTableType, 'id_of_next_table'/HexAdapter(Bytes(2)), 'ic_decision_value'/BcdAdapter(Bytes(2)), - 'network_string_table_index'/Int8ub) + 'network_string_table_index'/Int16ub) class EF_NW(LinFixedEF): |