laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/32980 )
Change subject: ts_31_102: Fix FID of EF.OPL5G (it's 4F08 instead of 6F08) ......................................................................
ts_31_102: Fix FID of EF.OPL5G (it's 4F08 instead of 6F08)
Change-Id: I68c7ad93dabd768d80ae629498aee29d7bab5542 --- M pySim/ts_31_102.py 1 file changed, 10 insertions(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified
diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py index a340d32..08a99f6 100644 --- a/pySim/ts_31_102.py +++ b/pySim/ts_31_102.py @@ -1052,7 +1052,7 @@
# TS 31.102 Section 4.4.11.9 class EF_OPL5G(LinFixedEF): - def __init__(self, fid='6f08', sfid=0x08, name='EF.OPL5G', desc='5GS Operator PLMN List', **kwargs): + def __init__(self, fid='4f08', sfid=0x08, name='EF.OPL5G', desc='5GS Operator PLMN List', **kwargs): super().__init__(fid=fid, sfid=sfid, name=name, desc=desc, rec_len=(10, None), **kwargs) Tai = Struct('mcc_mnc'/BcdAdapter(Bytes(3)), 'tac_min'/HexAdapter(Bytes(3)), 'tac_max'/HexAdapter(Bytes(3)))