aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/ts_31_102.py
diff options
context:
space:
mode:
authorSebastian Viviani <guilly@gmail.com>2020-06-03 08:57:00 +0100
committerSebastian Viviani <guilly@gmail.com>2020-06-09 10:10:28 +0100
commite61170c0eb85daa8ac5deabc8a62e00c9b33d800 (patch)
tree2892f7c3bbbaa5f98de1401d728656c90e8f6d18 /pySim/ts_31_102.py
parent0e9f93fdd613ec53b9123335bc6f1ed71b8a06b6 (diff)
utils.py add LOCI EFs decode functions
The LOCI, PSLOCI and EPSLOCI contain some info, including the PLMN, added helper functions to decode it Change-Id: Ibb513ff7d1dc6d33b354ae26cbd9c390ea3c8efc
Diffstat (limited to 'pySim/ts_31_102.py')
-rw-r--r--pySim/ts_31_102.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py
index 473e595..215ed4c 100644
--- a/pySim/ts_31_102.py
+++ b/pySim/ts_31_102.py
@@ -137,6 +137,12 @@ EF_UST_map = {
111: 'ePDG configuration Information for Emergency Service configured',
}
+LOCI_STATUS_map = {
+ 0: 'updated',
+ 1: 'not updated',
+ 2: 'plmn not allowed',
+ 3: 'locatation area not allowed'
+}
EF_USIM_ADF_map = {
'LI': '6F05',
'ARR': '6F06',