pysim/pySim
andrew-ma 2e6dc03f34 Allow update_binary function to write more than 255 bytes
The T0 protocol (selected in transport/pcsc.py) does not support extended APDU, so 255 bytes is the maximum number of bytes that can be transmitted at a time.  We can divide large data into 255 byte chunks.  The read_binary function already has code to read more than 255 bytes, so we can just adapt it to the update_binary function.

Change-Id: Icc240d5c8c04198640eb118565ea99f10ba27466
2021-07-31 22:29:23 -07:00
..
transport transport: Add support for SW 6Cxx 2021-05-25 22:23:00 +02:00
__init__.py cosmetic: missing newlines on last line of 2 files 2017-03-21 13:07:57 +01:00
card_handler.py Remove Python shebang from files where it's not needed 2021-03-01 17:33:46 +01:00
card_key_provider.py [pylint] Mark abstract CardKeyProvider.get() method as such 2021-05-02 20:22:15 +00:00
cards.py cards: rename class "Card" to "SimCard" 2021-06-30 08:17:12 +00:00
cat.py Introduce new object-oriented TLV parser/decoder/encoder 2021-06-05 10:47:17 +02:00
commands.py Allow update_binary function to write more than 255 bytes 2021-07-31 22:29:23 -07:00
construct.py construct: Recursive normalization of construct parse result 2021-06-05 10:47:17 +02:00
exceptions.py Add more documentation to the classes/methods 2021-04-02 21:08:35 +02:00
filesystem.py filesystem: Introduce support for TLV parser 2021-06-05 10:47:17 +02:00
jsonpath.py pySim-shell: JSONpath support for updating files/records 2021-04-07 16:45:12 +00:00
tlv.py filesystem: Introduce support for TLV parser 2021-06-05 10:47:17 +02:00
ts_31_102.py implement more files with TLV + construct 2021-06-13 22:31:05 +02:00
ts_31_103.py implement more files with TLV + construct 2021-06-13 22:31:05 +02:00
ts_51_011.py implement more files with TLV + construct 2021-06-13 22:31:05 +02:00
ts_102_221.py ts_102_221: Add construct for contents of EF.UMPC 2021-06-05 10:47:17 +02:00
utils.py utils: Add bertlv_encode_tag() 2021-05-30 19:27:37 +02:00