Gerrit Code Review
448fadd45f
Update notes for submitted changes
...
* utils.py: Add helper method to parse Service Table
* Define mapping between SIM Service Number and its description
* Use the generic method read_binary of card class to read AD
* Move parsing of MSISDN to generic Card class
* Use the generic method read_binary of card class to read ACC
* Move parsing of HPLMNAcT to generic Card class
* Move parsing of OPLMNwAcT to generic Card class
* Move parsing of PLMNwAcT to generic Card class
2020-04-01 09:40:24 +00:00
Gerrit Code Review
88a941b856
Update notes for submitted changes
...
* Use the generic method read_binary of card class to read PLMNsel
* pySim-read.py: Use the method declared in cards.py to read SPN
* Use the generic method read_record of card class to read SMSP
* Use read_binary function of card class to read GID2 and reduce code duplication
* cards.py: Add generic function to read EF record in card class
* cards.py: Add generic function to read EF binary to card class
* Move parsing of GID2 to generic Card class
2020-04-01 08:54:52 +00:00
Gerrit Code Review
263b1f6201
Update notes for submitted changes
...
* Move parsing of GID1 to generic Card class
* pySim-read.py: Use the method declared in cards.py to read IMSI
* pySim-read.py: Use the method declared in cards.py to read ICCID
2020-03-28 17:58:16 +00:00
Gerrit Code Review
95e1b9bb8a
Update notes for submitted changes
...
* pySim-read.py: Added a common card detection function for both pySim-prog.py and pySim-read.py
* cards.py: Added parsing of all the AIDs in the UICC
2020-03-27 17:22:56 +00:00
Gerrit Code Review
eede4032bc
Update notes for submitted changes
...
* pySim-read.py: support for reading GID2 from SIM
* pySim-read.py: support for reading GID1 from SIM
2020-03-13 07:44:45 +00:00
Gerrit Code Review
dcadff5976
Update notes for submitted changes
...
* sysmoISIM-SJA2: Add suport for USIM-only and ISIM-only cards
* sysmiISIM-SJA2: add support for new card model / os version
2020-03-11 15:08:16 +00:00
Gerrit Code Review
139b874f8b
Update notes for submitted changes
...
* cards: Python 3 fix: use the floor division operator //
* commands: Python 3 fix: properly distinguish str and list
* transport/pcsc: explicitly specify T0 protocol
* transport/pcsc: cosmetic: reuse the existing code of PcscSimLink
* utils: fix dec_msisdn(): properly detect international numbers
2020-03-01 19:22:04 +00:00
Gerrit Code Review
211029e2b8
Update notes for submitted changes
...
* Py2 -> Py3: use the floor division operator // where possible
* pySim-read.py: do not import json, it is not needed
2020-02-15 19:11:50 +00:00
Gerrit Code Review
400db17347
Update notes for submitted changes
...
* pySim-prog.py: add support for MSISDN programming
* pySim-read.py: fix reading and parsing of EF.MSISDN
* Fix MCC and MCC representation in the output of pySim-read
* cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT
* cards/sysmoUSIM-SJS1: support programming of ACC bits
* cards: fix reading of EF.HPLMNwAcT in Card.update_hplmn_act()
* cards: cosmetic/indentation fix: use tabs, not spaces
* pySim-prog.py: add presence/length checks for user-provided SPN
* pySim-read.py: print meaningful message when SPN is not set
2020-02-15 19:11:35 +00:00
Gerrit Code Review
60d4c76a7d
Update notes for submitted changes
...
* pySim-read.py: fix copy-paste: s/HPLMNAcT/PLMNsel/
* Fix compatibility with Python 3: print() is a function
* testdata/sysmoUSIM-SJS1.ok: make it match the actual EF.HPLMNAcT
2020-02-14 19:31:02 +00:00
Gerrit Code Review
70003bdf24
Update notes for submitted changes
...
* Fix file permission
* Added feature to program SPN into sysmoUSIM-SJS1 SIM cards
2020-01-31 14:57:30 +00:00
Gerrit Code Review
b881b96d8e
Update notes for submitted changes
...
* Added feature to read Service Provider Name (SPN) from the SIM card
2020-01-21 12:54:58 +00:00
Gerrit Code Review
adb0f3e0f5
Update notes for submitted changes
...
* cards: Add support for sysmo-isim-sja2
2020-01-09 13:05:50 +00:00
Gerrit Code Review
ec91cc6c16
Update notes for submitted changes
...
* Fixup: Fix automated tests
2019-12-31 17:07:38 +00:00
Gerrit Code Review
8f0072d207
Update notes for submitted changes
...
* commands: fix __record_len()
2019-12-23 17:15:14 +00:00
Gerrit Code Review
4e2a5fa4dc
Update notes for submitted changes
...
* Fix automated tests
2019-12-17 13:46:58 +00:00
Gerrit Code Review
759b8e95c9
Update notes for submitted changes
...
* Fairwaves-SIM: Add test data
2019-11-12 12:39:01 +00:00
Gerrit Code Review
3ac02c4f9f
Update notes for submitted changes
...
* cards.py: do not use spaces in card names
2019-11-11 14:00:38 +00:00
Gerrit Code Review
206be3336a
Update notes for submitted changes
...
* python3 conversion: Use python 2 and 3 compatible exceptions
2019-10-07 20:03:08 +00:00
Gerrit Code Review
05d9dd58e5
Update notes for submitted changes
...
* python3 conversion: fix tabs and spaces inconsistency
2019-09-28 12:44:30 +00:00
Gerrit Code Review
89671ac3dc
Update notes for submitted changes
...
* pySim-prog: use functions to derive MCC/MNC from IMSI
* cards: use string representation for MNC/MCC
* pySim-prog: check if CSV file exists
* pySim-prog: use case insensitive CSV headers.
* pySim-prog.py: use more expressive error message on CSV read failure
2019-09-14 15:34:32 +00:00
Gerrit Code Review
793d1afc4c
Update notes for submitted changes
...
* Add support for automatic card handling
2019-09-13 08:13:57 +00:00
Gerrit Code Review
60d6da5a20
Update notes for submitted changes
...
* pySim-prog: generate a pin_adm from pin_adm_hex also for CSV files
2019-09-12 08:23:45 +00:00
Gerrit Code Review
b16257d79d
Update notes for submitted changes
...
* Add an option to read the iccid and batch-program the new card data
* pySim-prog: Add option for hex ADM keys
* pySim-prog: Use CSV format with headers
2019-09-04 18:50:41 +00:00
Gerrit Code Review
7b866328b8
Update notes for submitted changes
...
* pySim-prog: Print out hex-escaped pin_adm in card parameters
2019-09-04 10:47:40 +00:00
Gerrit Code Review
bd069dc4ae
Update notes for submitted changes
...
* pysim-testdate: Add test data for Wavemobile-sim
2019-09-02 20:21:02 +00:00
Gerrit Code Review
1b1bfbb684
Update notes for submitted changes
...
* make writing SMSP optional
2019-09-02 09:15:30 +00:00
Gerrit Code Review
7162b96ec8
Update notes for submitted changes
...
* Make programming OPC optional
2019-08-29 05:34:59 +00:00
Gerrit Code Review
6917fa5180
Update notes for submitted changes
...
* pySim-*.py: print info about selected reader interface
2019-05-10 15:26:30 +00:00
Gerrit Code Review
94b1e684c6
Update notes for submitted changes
...
* Don't try to parse result if select_file() failed
* Use reference array for reading ICCID
2019-05-10 15:08:19 +00:00
Gerrit Code Review
aab6a743d7
Update notes for submitted changes
...
* utils: add EF [H|O]PLMNwAcT decoding.
* import pysim-testdata of automatic testing to this repository
2019-05-10 15:05:45 +00:00
Gerrit Code Review
3100d26b2f
Update notes for submitted changes
...
* wavemobile-sim: write mnc-length field ine EF.AD
2019-04-08 07:08:49 +00:00
Gerrit Code Review
daa10fce26
Update notes for submitted changes
...
* cosmetic: fix sourecode formatting
2019-04-08 07:08:36 +00:00
Gerrit Code Review
ca63954a93
Update notes for submitted changes
...
* sysmo-usim-sjs1: update EF.AD with correct MNC length
2019-04-08 07:03:52 +00:00
Gerrit Code Review
e0b0d0a36b
Update notes for submitted changes
...
* cards: sysmo-usim-sjs1: add programming of EF.PLMNsel, EF.PLMNwAcT and EF.OPLMNwAcT
2019-04-01 13:10:05 +00:00
Gerrit Code Review
27eb82678c
Update notes for submitted changes
...
* commands: correct case of a TLV tag (A5 => a5)
2019-03-26 08:42:26 +00:00
Gerrit Code Review
84634b8431
Update notes for submitted changes
...
* pySim-*.py: add command line option for Calypso reader
* pySim-*.py: refactor card reader driver initialization
* pySim/transport: introduce Calypso based reader interface
2018-11-12 15:25:12 +00:00
Gerrit Code Review
df27e9f499
Update notes for submitted changes
...
* pySim-prog: Honor international '+' in SMSC number
2018-10-05 12:21:25 +00:00
Gerrit Code Review
8df069eed3
Update notes for submitted changes
...
* utils: fix encoding/decoding of IMSI value
2018-09-26 17:38:10 +00:00
Gerrit Code Review
591a3a3f16
Update notes for submitted changes
...
* tests: add example test data for Wavemobile-SIM
2018-09-20 12:43:38 +00:00
Gerrit Code Review
569b015b8a
Update notes for submitted changes
...
* cards: Add support for Wavemobile SIM
2018-09-13 07:18:33 +00:00
Gerrit Code Review
b085041251
Update notes for submitted changes
...
* tests: add example file for sysmosim-gr1
2018-08-24 10:35:34 +00:00
Gerrit Code Review
adfb2ed34c
Update notes for submitted changes
...
* cards: do not feed ascii as adm for sysmosim-gr1
* cards: autodetect sysmosim-gr1
2018-08-23 16:08:07 +00:00
Gerrit Code Review
2c9432b669
Update notes for submitted changes
...
* readme: add 'serial' dep, cosmetically rearrange
2018-08-20 19:55:29 +00:00
Gerrit Code Review
a2d8523eeb
Update notes for submitted changes
...
* commands: depend on pytlv only when it is actually needed
* readme: add info about dependencies
2018-07-25 18:52:58 +00:00
Gerrit Code Review
2320822ed9
Update notes for submitted changes
...
* add .gitreview
2018-07-20 19:07:53 +00:00
Gerrit Code Review
f656e9dd72
Update notes for submitted changes
...
* contrib: add jenkins.sh
2018-07-20 19:07:50 +00:00
Gerrit Code Review
5922227b80
Update notes for submitted changes
...
* tests: add test program to verify pysim-prog.py (and pysim-read.py)
2018-07-19 07:55:42 +00:00
Gerrit Code Review
3fae5c3316
Update notes for submitted changes
...
* cards: return SW in method update_plmnsel() of class Card
2018-07-19 07:54:59 +00:00
Gerrit Code Review
e8a153fa28
Update notes for submitted changes
...
* cosmetic: fix cut and paste error in comment
2018-07-19 07:54:50 +00:00