From 16ec96a0c989f5cdb244c2ee073528ba9cd5ceab Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 21 Apr 2021 10:46:19 +0200 Subject: [PATCH] ts_31_103: Add Rel 16.6 enhancements (MuDMiDConfigData) Change-Id: I54046375f180017373ab8e06e60ac5a542da706a --- pySim/ts_31_103.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pySim/ts_31_103.py b/pySim/ts_31_103.py index 7bb7ed2a..d155fdc6 100644 --- a/pySim/ts_31_103.py +++ b/pySim/ts_31_103.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ -Various constants from ETSI TS 131 103 V14.2.0 +Various constants from 3GPP TS 31.103 V16.1.0 """ # @@ -50,6 +50,7 @@ EF_IST_map = { 18: 'IMS configuration data', 19: 'XCAP Configuration Data', 20: 'WebRTC URI', + 21: 'MuD and MiD configuration data', } EF_ISIM_ADF_map = { @@ -159,6 +160,12 @@ class EF_WebRTCURI(TransparentEF): def __init__(self, fid='6ffa', sfid=None, name='EF.WebRTCURI', desc='WebRTC URI'): super().__init__(fid=fid, sfid=sfid, name=name, desc=desc) +# TS 31.103 Section 4.2.21 +class EF_MuDMiDConfigData(TransparentEF): + def __init__(self, fid='6ffe', sfid=None, name='EF.MuDMiDConfigData', + desc='MuD and MiD Configuration Data'): + super().__init__(fid=fid, sfid=sfid, name=name, desc=desc) + class ADF_ISIM(CardADF): def __init__(self, aid='a0000000871004', name='ADF.ISIM', fid=None, sfid=None, @@ -185,6 +192,7 @@ class ADF_ISIM(CardADF): EF_IMSConfigData(), EF_XCAPConfigData(), EF_WebRTCURI(), + EF_MuDMiDConfigData(), ] self.add_files(files) # add those commands to the general commands of a TransparentEF