mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-22 13:28:33 +03:00
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:
committed by
herlesupreeth
parent
95b4e8d4fa
commit
99d55552d5
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user