mirror of https://gerrit.osmocom.org/pysim
gsm_r: Fix byte/nibble ordering of predefined_value1
Change-Id: Ia0dd8994556548a17a0a3101225c23e804511717 Related: OS#5784
This commit is contained in:
parent
6bf2d5f216
commit
73a7fea357
|
@ -240,7 +240,7 @@ class EF_Predefined(LinFixedEF):
|
||||||
# header and other records have different structure. WTF !?!
|
# header and other records have different structure. WTF !?!
|
||||||
construct_first = Struct('next_table_type'/NextTableType,
|
construct_first = Struct('next_table_type'/NextTableType,
|
||||||
'id_of_next_table'/HexAdapter(Bytes(2)))
|
'id_of_next_table'/HexAdapter(Bytes(2)))
|
||||||
construct_others = Struct('predefined_value1'/HexAdapter(Bytes(2)),
|
construct_others = Struct('predefined_value1'/BcdAdapter(Bytes(2)),
|
||||||
'string_table_index1'/Int8ub)
|
'string_table_index1'/Int8ub)
|
||||||
|
|
||||||
def __init__(self, fid, name, desc):
|
def __init__(self, fid, name, desc):
|
||||||
|
|
Loading…
Reference in New Issue