Attention is currently required from: fixeria, laforge.
dexter has posted comments on this change by laforge. (
https://gerrit.osmocom.org/c/pysim/+/37454?usp=email )
Change subject: global_platform: LOAD and INSTALL [for load] support
......................................................................
Patch Set 8:
(6 comments)
File pySim/global_platform/__init__.py:
https://gerrit.osmocom.org/c/pysim/+/37454/comment/d0b86d47_d126d2ff?usp=em… :
PS7, Line 20: import io
unused import? […]
I think you overlooked it. It
is used in do_load
https://gerrit.osmocom.org/c/pysim/+/37454/comment/92fe6e77_6cbea201?usp=em… :
PS7, Line 772: Prefixed(Int8ub, GreedyBytes
This is basically LV structure. […]
I have tried
out what happens when I use LV, but it does not work. LV is indeed different. We use the
/HexAdapter(Prefixed(Int8ub, GreedyBytes) in various other places too. I would suggest to
keep it like it is.
https://gerrit.osmocom.org/c/pysim/+/37454/comment/b1b72fc3_f8ebe365?usp=em… :
PS7, Line 824: ('--from-hex
why not using `type=is_hexstr` here?
Done
https://gerrit.osmocom.org/c/pysim/+/37454/comment/748236aa_590511e3?usp=em… :
PS7, Line 824: load_parser.add_argument('--from-hex', help='load from
hex string')
: load_parser.add_argument('--from-file', help='load from
binary file')
:
If these params are mutually-exclusive (only one of
these must be supplied), please create a group u […]
Done
https://gerrit.osmocom.org/c/pysim/+/37454/comment/bd7de28c_9c538c20?usp=em… :
PS7, Line 833:
formatting
Interesting that I got no errors,
python3 is normally very picky about this.
https://gerrit.osmocom.org/c/pysim/+/37454/comment/9fea01be_001e428d?usp=em… :
PS7, Line 835: with open(opts.from_file, 'rb') as f:
Done
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/37454?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I924aaeecbb3a72bdb65eefbff6135e4e9570579e
Gerrit-Change-Number: 37454
Gerrit-PatchSet: 8
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 21 Jan 2025 15:14:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>