This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/23840 ) Change subject: ts_31_102, ts_31_103: Add EF.FromPreferred ...................................................................... ts_31_102, ts_31_103: Add EF.FromPreferred Change-Id: I7dc989a4ab198f3eaa45ba7060c8087354a544bb --- M pySim/ts_31_102.py M pySim/ts_31_103.py 2 files changed, 11 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/40/23840/1 diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py index 55c00e4..5095471 100644 --- a/pySim/ts_31_102.py +++ b/pySim/ts_31_102.py @@ -278,7 +278,7 @@ from struct import unpack, pack from construct import * -from pySim.construct import LV, HexAdapter, BcdAdapter +from pySim.construct import LV, HexAdapter, BcdAdapter, BitsRFU from pySim.filesystem import * from pySim.ts_102_221 import EF_ARR from pySim.ts_51_011 import EF_IMSI, EF_xPLMNwAcT, EF_SPN, EF_CBMI, EF_ACC, EF_PLMNsel, EF_AD @@ -608,6 +608,13 @@ self._construct = Struct('status'/PaddedString(2, 'ascii'), 'link_to_ef_ipd'/Int8ub, 'rfu'/Byte) +# TS 31.102 Section 4.2.106 +class EF_FromPreferred(TransparentEF): + def __init__(self, fid='6ff7', sfid=None, name='EF.FromPreferred', size={1,1}, + desc='From Preferred'): + super().__init__(fid, sfid=sfid, name=name, desc=desc, size=size) + self._construct = BitStruct('rfu'/BitsRFU(7), 'from_preferred'/Bit) + ###################################################################### # DF.5GS ###################################################################### @@ -814,6 +821,7 @@ LinFixedEF('6fef', None, 'EF.SDNURI', 'Service Dialling Numbers URI'), EF_IPS(), # FIXME: from EF_ePDGid onwards + EF_FromPreferred(), # FIXME: DF_SoLSA # FIXME: DF_PHONEBOOK # FIXME: DF_GSM_ACCESS diff --git a/pySim/ts_31_103.py b/pySim/ts_31_103.py index d155fdc..baa4d25 100644 --- a/pySim/ts_31_103.py +++ b/pySim/ts_31_103.py @@ -25,7 +25,7 @@ from pySim.filesystem import * from pySim.utils import * from pySim.ts_51_011 import EF_AD, EF_SMS, EF_SMSS, EF_SMSR, EF_SMSP -from pySim.ts_31_102 import ADF_USIM +from pySim.ts_31_102 import ADF_USIM, EF_FromPreferred import pySim.ts_102_221 # Mapping between ISIM Service Number and its description @@ -188,7 +188,7 @@ EF_SMSR(), EF_SMSP(), EF_UICCIARI(), - # FromPreferred + EF_FromPreferred(), EF_IMSConfigData(), EF_XCAPConfigData(), EF_WebRTCURI(), -- To view, visit https://gerrit.osmocom.org/c/pysim/+/23840 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I7dc989a4ab198f3eaa45ba7060c8087354a544bb Gerrit-Change-Number: 23840 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210421/5dbbf8ad/attachment.htm>