pySim-read.py: Enable parsing of EF.ePDGSelection in USIM

As per TS 31.102, this EF can found under ADF.USIM at File Id 6ff4.
Also, if service n°106 and service n°107 are available, this file shall be present.

Change-Id: I98916e6f5c9791aff63c18a3b16bdfb8ae9b2d36
This commit is contained in:
Supreeth Herle authored and herlesupreeth committed 2020-10-21 08:32:55 +02:00
1 parent 95b4e8d4fa
commit 99d55552d5
3 files changed
+25

No files matched your search

+7
View File
@@ -277,6 +277,13 @@ class UsimCard(Card):
EF_USIM_ADF_map['ePDGId'], epdgid_tlv)
return sw
def read_ePDGSelection(self):
(res, sw) = self._scc.read_binary(EF_USIM_ADF_map['ePDGSelection'])
if sw == '9000':
return (format_ePDGSelection(res), sw)
else:
return (None, sw)
def read_ust(self):
(res, sw) = self._scc.read_binary(EF_USIM_ADF_map['UST'])
if sw == '9000':