aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/utils.py
AgeCommit message (Expand)AuthorFilesLines
2021-01-05utils.py: Support IPv4 decoding for Address TLV object present in EF.ePDGId a...Supreeth Herle1-1/+7
2021-01-05utils.py: Support IPv4 encoding for Address TLV object present in EF.ePDGId a...Supreeth Herle1-2/+11
2021-01-05utils.py: Add helper method to get type of address (FQDN, IPv4, IPv6)Supreeth Herle1-0/+58
2021-01-05Re-purpose helper method to be used for parsing Address TLV Object in generalSupreeth Herle1-10/+11
2021-01-05utils.py: Bugfix for parsing non-programmed EFePDGSelectionherlesupreeth1-1/+6
2020-10-21utils.py: Add helper method to encode ePDGSelection info TLVSupreeth Herle1-0/+16
2020-10-21utils.py: Add helper method to parse ePDG Selection info TLVSupreeth Herle1-0/+54
2020-10-19Lint fixes: false -> False, missing imports, Index list, not map iterDaniel Willmann1-1/+1
2020-09-20Remove redundant hexstr_to_fivebytearr() and hexstr_to_threebytearr() functionsherlesupreeth1-6/+0
2020-09-20Use generic function hexstr_to_Nbytearr to convert hex string to 3/5 Bytes arrayherlesupreeth1-2/+2
2020-09-20utils.py: Add helper method to convert a hex string into array of N bytes str...Supreeth Herle1-0/+3
2020-09-20utils.py: Add helper method to encode Service TableSupreeth Herle1-0/+43
2020-08-28Add support for ADF_USIM/EF_EHPLMNHarald Welte1-0/+22
2020-06-23utils.py: Add helper method to encode ePDG IdentifierSupreeth Herle1-0/+18
2020-06-23utils.py: Handle parsing of ePDGId TLV with zero lengthSupreeth Herle1-0/+4
2020-06-09utils.py add LOCI EFs decode functionsSebastian Viviani1-0/+30
2020-06-02Implement Generic SIM Access interface as per 3GPP TS 27.007Vadim Yanitskiy1-0/+4
2020-05-28utils: fix list comprehension in h2s(): ignore upper case paddingVadim Yanitskiy1-1/+2
2020-05-22utils: do not crash when all bytes of EF.IMSI are 0xFFPhilipp Maier1-0/+2
2020-05-17pysim-prog: move ADM sanitation to utils.pyPhilipp Maier1-0/+31
2020-05-13Treat MCC and MNC as strings, not integersHarald Welte1-1/+3
2020-05-12pySim-prog, pySim-read, do not echo reader idPhilipp Maier1-0/+19
2020-05-11utils.py: Add helper method to parse ePDG Identifier from hex stringSupreeth Herle1-0/+34
2020-05-11Introduce function for converting bytes list in (hex or int) to stringSupreeth Herle1-0/+4
2020-05-11Import TLV parsing related function from https://github.com/mitshell/cardSupreeth Herle1-0/+39
2020-04-27Extend parsing and printing of Service table to ISIMSupreeth Herle1-1/+4
2020-04-27Remove redundant functionsSupreeth Herle1-22/+0
2020-04-27utils.py: Add helper method to parse and print Service TableSupreeth Herle1-0/+31
2020-04-01utils.py: Add helper method to parse Service TableSupreeth Herle1-0/+22
2020-02-27utils: fix dec_msisdn(): properly detect international numbersVadim Yanitskiy1-1/+1
2020-02-15pySim-prog.py: add support for MSISDN programmingSupreeth Herle1-0/+26
2020-02-15pySim-read.py: fix reading and parsing of EF.MSISDNSupreeth Herle1-0/+41
2020-02-15Fix MCC and MCC representation in the output of pySim-readSupreeth Herle1-15/+40
2019-09-13pySim-prog: use functions to derive MCC/MNC from IMSIPhilipp Maier1-0/+27
2019-09-13cards: use string representation for MNC/MCCPhilipp Maier1-1/+1
2019-05-10utils: add EF [H|O]PLMNwAcT decoding.Daniel Laszlo Sitzer1-0/+73
2018-09-26utils: fix encoding/decoding of IMSI valueBen Fox-Moore1-6/+26
2018-01-11Make derive_milenage_opc and calculate_luhn publicly available through utils.pyAlexander Chemeris1-0/+21
2018-01-10utils: Fix documentation. 3+3=6 digits equals 3 bytes, not 6Alexander Chemeris1-1/+1
2018-01-10utils: Functions to encode/decode EF SPN.Alexander Chemeris1-0/+19
2018-01-02utils.py: dec_imsi: Fix ValueErrorPau Espin Pedrol1-1/+1
2013-07-13Move encoder functions for ICCID, IMSI and PLMN to pySim.utils for consistency.Alexander Chemeris1-0/+14
2013-07-13utils: Add functions to decode IMSI and ICCID from EF raw data.Alexander Chemeris1-0/+17
2010-12-07Split all things into a more "library-like" packageSylvain Munaut1-0/+44