Commit Graph

212 Commits

Author SHA1 Message Date
Gerrit Code Review
14732beeeb Update notes for submitted changes
* update readme detail about cmd2 - make sure people get 1.5 from pip instead of some old debian-pkg
2021-08-31 06:52:10 +00:00
Gerrit Code Review
84a190ca63 Update notes for submitted changes
* Use README.md as long description in package metadata
2021-08-06 14:11:40 +00:00
Gerrit Code Review
cd6951a09f Update notes for submitted changes
* Allow update_binary function to write more than 255 bytes
2021-08-03 07:09:23 +00:00
Gerrit Code Review
21ba332b97 Update notes for submitted changes
* cards: rename class "Card" to "SimCard"
2021-06-30 08:17:12 +00:00
Gerrit Code Review
48e76951c4 Update notes for submitted changes
* pySim/commands: Add envelope() method for ENVELOPE command
2021-06-30 08:14:27 +00:00
Gerrit Code Review
06db556110 Update notes for submitted changes
* implement more files with TLV + construct
* ts_31_102: Fully support USIM EF.AD
2021-06-14 07:53:31 +00:00
Gerrit Code Review
5415dcea2e Update notes for submitted changes
* ts_31_102: Start using pySim.tlv to implement more DF.5GS files
2021-06-13 20:46:49 +00:00
Gerrit Code Review
def43ae657 Update notes for submitted changes
* cmd2: Constrain version to >= 1.3.0 but < 2.0.0
2021-06-12 06:04:56 +00:00
Gerrit Code Review
ab4c577006 Update notes for submitted changes
* filesystem: Introduce support for TLV parser
2021-06-05 12:25:51 +00:00
Gerrit Code Review
c85c4d5dbb Update notes for submitted changes
* Introduce new object-oriented TLV parser/decoder/encoder
* ts_102_221: Add construct for contents of EF.UMPC
2021-06-05 12:25:41 +00:00
Gerrit Code Review
eb36982d32 Update notes for submitted changes
* construct: Recursive normalization of construct parse result
* utils: Make filter_dict() transparently pass non-dict
2021-06-05 09:35:08 +00:00
Gerrit Code Review
0ebcf5eb69 Update notes for submitted changes
* shell: Fix activate_file + deactivate_file commands
2021-05-26 03:58:01 +00:00
Gerrit Code Review
8afb0c14f4 Update notes for submitted changes
* shell: Add 'status' command to issue STATUS APDU
2021-05-25 20:46:26 +00:00
Gerrit Code Review
6a3bd68f87 Update notes for submitted changes
* transport: Add support for SW 6Cxx
2021-05-25 20:41:07 +00:00
Gerrit Code Review
2328499933 Update notes for submitted changes
* commands: remove superfluous getter/setter for cla_byte property
* commands: resolve inconsistency on sel_ctrl
2021-05-23 12:35:30 +00:00
Gerrit Code Review
00dcfb5d7c Update notes for submitted changes
* pySim-read: adjust meaning of HPLMN/OPLMN flags in EF_SPN
2021-05-23 10:06:08 +00:00
Gerrit Code Review
6fae4356cc Update notes for submitted changes
* ts_31_103: finish decoder and fix encoder for EF.PCSCF
* utils: split string formatting from dec_addr_tlv
* commands: pad short data input in update_record()
2021-05-23 10:05:50 +00:00
Gerrit Code Review
1ce01d54dc Update notes for submitted changes
* commands: check for status word in USIM authenticate command
* transport/pcsc: Raise exception if reader number is out of range
2021-05-22 20:39:27 +00:00
Gerrit Code Review
79b5a15449 Update notes for submitted changes
* cards: populate name property in Card, UsimCard and IsimCard
2021-05-21 15:22:32 +00:00
Gerrit Code Review
b4892a6431 Update notes for submitted changes
* pySim_prog: remove unused import for dec_addr_tlv
2021-05-21 13:41:19 +00:00
Gerrit Code Review
4128981a62 Update notes for submitted changes
* Update README
2021-05-17 20:31:06 +00:00
Gerrit Code Review
76df854219 Update notes for submitted changes
* Add codecs for EF_SPN and GSM strings via construct
2021-05-13 17:56:36 +00:00
Gerrit Code Review
c2df6b56e5 Update notes for submitted changes
* ts_51_011: fix encoder of EF_SPN:
2021-05-07 21:52:30 +00:00
Gerrit Code Review
b332bc081b Update notes for submitted changes
* ts_102_221: add missing TLV key '9B'/'target_ef' for sysmoUSIM-SJS1
* ModemATCommandLink: improve response time for "+CME ERROR"
* ModemATCommandLink: add/adjust some logging
2021-05-07 21:49:54 +00:00
Gerrit Code Review
a1403d09cb Update notes for submitted changes
* ModemATCommandLink: return lower case hexstring
2021-05-06 16:19:12 +00:00
Gerrit Code Review
87647b6982 Update notes for submitted changes
* pySim-read: fix wrong comment
2021-05-05 13:02:59 +00:00
Gerrit Code Review
e73fdf6847 Update notes for submitted changes
* docs/shell.rst: Document verify_adm and tree commands
* transport: Mark more methods as abstractmethod
* shell: Add 'reset' command to reset the card
* BER-TLV EF support (command, filesystem, shell)
* ts_31_103: Use EF_ARR decoder from TS 102 221
2021-05-04 14:22:56 +00:00
Gerrit Code Review
0f05c91e3e Update notes for submitted changes
* Implement EF.ARR (Access Rule Reference) decoding
* utils: Introduce CommandSet abstraction
2021-05-04 11:50:20 +00:00
Gerrit Code Review
395a8fed5a Update notes for submitted changes
* utils: Introduce DataObject representation
2021-05-04 11:26:36 +00:00
Gerrit Code Review
65d1be4a49 Update notes for submitted changes
* utils: specify type of parameter name in enc_spn
2021-05-03 15:22:12 +00:00
Gerrit Code Review
6fbb292faf Update notes for submitted changes
* ts_51_011, utils: fix Access Technology Identifier coding
2021-05-03 15:20:29 +00:00
Gerrit Code Review
ee5b4c37d8 Update notes for submitted changes
* utils: fix dec_xplmn_w_act() and format_xplmn_w_act()
2021-05-03 15:08:27 +00:00
Gerrit Code Review
70c366db3b Update notes for submitted changes
* utils: fix mcc/mnc encoding in dec_plmn (EF_PLMNsel)
2021-05-03 15:07:50 +00:00
Gerrit Code Review
fdec7fbc30 Update notes for submitted changes
* utils: specify paremeters of enc_plmn() as Hexstr
2021-05-03 14:19:41 +00:00
Gerrit Code Review
e85966eb63 Update notes for submitted changes
* ModemATCommandLink: fix AttributeError exception in __del__()
2021-05-03 14:13:14 +00:00
Gerrit Code Review
4934813095 Update notes for submitted changes
* Speed up AT command interface (~130 times faster)
2021-05-03 14:11:50 +00:00
Gerrit Code Review
bb0b806bd7 Update notes for submitted changes
* contrib/jenkins.sh: run pylint to find potential errors
2021-05-02 20:22:49 +00:00
Gerrit Code Review
64815ae768 Update notes for submitted changes
* [pylint] Fix referencing undefined variable 'shutil'
* [pylint] Declare abstract LinkBase._send_apdu_raw() method as such
* [pylint] Fix float vs integer division in cards.py
* [pylint] Fix reference to undefined variable 'in_hex'
* [pylint] Mark abstract MagicSimBase class as such
* [pylint] Fix calling non-existing iteritems() of dict
* [pylint] Declare some fields in _MagicSimBase class
* [pylint] Mark abstract CardKeyProvider.get() method as such
* [pylint] fix non-existing 'res' in EF_CNL._encode_record_hex()
2021-05-02 20:22:15 +00:00
Gerrit Code Review
61f51bfb1b Update notes for submitted changes
* transport/AT: Make sure PDU has upper case hex digits
2021-05-02 20:11:32 +00:00
Gerrit Code Review
0f6408930e Update notes for submitted changes
* ts_51_011: fix encoding of EF.MSISDN
2021-04-30 16:09:00 +00:00
Gerrit Code Review
25b8fffaf1 Update notes for submitted changes
* setup: set minimum required versions for contruct and cmd2
2021-04-30 13:52:24 +00:00
Gerrit Code Review
a7d4915096 Update notes for submitted changes
* filesystem.py: Introduce place-holder for BER-TLV files
* ts_31_102, ts_31_103: Add EF.FromPreferred
* ts_31_103: Add Rel 16.6 enhancements (MuDMiDConfigData)
* ts_31_103: Use EF_SMS, EF_SMSS, EF_SMSR, EF_SMSP from ts_51_011
* ts_31_102: Define DF_WLAN, DF_ProSe and DF_HNB with their EFs
* ts_31_102: Extend DF_5GS to 3GPP 31.102 R16.6
2021-04-24 10:08:47 +00:00
Gerrit Code Review
836e4c1bb7 Update notes for submitted changes
* utils: fix encoding of EF.MSISDN
2021-04-24 08:43:25 +00:00
Gerrit Code Review
45c63c3228 Update notes for submitted changes
* filsystem.py: Add more information to exceptions
* pySim-read: Migrate over to use shared argparse from transport
* Move reader related argument parser to transport module
2021-04-22 09:27:26 +00:00
Gerrit Code Review
ae2467e941 Update notes for submitted changes
* filesystem: fix wrong helpstring for update_record_decoded
* filesystem: fix wrong comment
* pySim-shell: separate export summary with a headline
2021-04-21 16:39:04 +00:00
Gerrit Code Review
eabca55275 Update notes for submitted changes
* pysim-testdata/sysmoISIM-SJA2: change card in test rig
2021-04-21 10:35:59 +00:00
Gerrit Code Review
aa8205965a Update notes for submitted changes
* setup: add (nested) library pySim.transport
2021-04-18 06:46:05 +00:00
Gerrit Code Review
4953009465 Update notes for submitted changes
* Use construct for EF_AD in pySim-{shell, prog, read}.py, cards.py
2021-04-13 11:27:37 +00:00
Gerrit Code Review
12185c3b19 Update notes for submitted changes
* contrib/jenkins.sh: Build and publish PDF manual
2021-04-12 08:08:21 +00:00
Gerrit Code Review
f725c90f7b Update notes for submitted changes
* WIP: Add option to set UE operation mode in EF_AD (Administrative Data)
2021-04-11 09:35:36 +00:00