mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-31 02:24:58 +03:00
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
This commit is contained in:
@@ -211,7 +211,7 @@ class EF_IC(LinFixedEF):
|
|||||||
self._construct = Struct('next_table_type'/NextTableType,
|
self._construct = Struct('next_table_type'/NextTableType,
|
||||||
'id_of_next_table'/HexAdapter(Bytes(2)),
|
'id_of_next_table'/HexAdapter(Bytes(2)),
|
||||||
'ic_decision_value'/BcdAdapter(Bytes(2)),
|
'ic_decision_value'/BcdAdapter(Bytes(2)),
|
||||||
'network_string_table_index'/Int8ub)
|
'network_string_table_index'/Int16ub)
|
||||||
|
|
||||||
|
|
||||||
class EF_NW(LinFixedEF):
|
class EF_NW(LinFixedEF):
|
||||||
|
|||||||
Reference in New Issue
Block a user