diff options
author | Supreeth Herle <herlesupreeth@gmail.com> | 2020-03-24 16:15:02 +0100 |
---|---|---|
committer | herlesupreeth <herlesupreeth@gmail.com> | 2021-01-05 10:06:19 +0100 |
commit | 3b342c2f14789ac6203292beb9fc6eec58f4a552 (patch) | |
tree | c541fab6b2f98cb268707e8910f0ed5bef6037cc /pySim-read.py | |
parent | acc222f9f082983b642c60120fd941e34638d81a (diff) |
Re-purpose helper method to be used for parsing Address TLV Object in general
The Address TLV object is used in EF.P-CSCF Address, EF.ePDGId and EF.ePDGIdEm.
See 3GPP TS 31.102 version 13.4.0 Release 13, section 4.2.8, 4.2.102 and 4.2.104.
Address TLV Object format
Tag (1 Byte) - '80'
Length (1 Byte)
Address Type (1 Byte) - '00' (FQDN), '01' (IPv4), '02' (IPv6)
Address (Address Length Bytes)
Change-Id: Ifd8a240f6b5c7736e58a8151295c30ec5b32ed5f
Diffstat (limited to 'pySim-read.py')
-rwxr-xr-x | pySim-read.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-read.py b/pySim-read.py index 2be34bd..c8b1a5d 100755 --- a/pySim-read.py +++ b/pySim-read.py @@ -35,7 +35,7 @@ from pySim.ts_31_103 import EF_IST_map from pySim.commands import SimCardCommands from pySim.cards import card_detect, Card from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid, dec_msisdn -from pySim.utils import format_xplmn_w_act, dec_spn, dec_st, init_reader, dec_epdgid +from pySim.utils import format_xplmn_w_act, dec_spn, dec_st, init_reader, dec_addr_tlv from pySim.utils import h2s, format_ePDGSelection def parse_options(): |