pysim[master]: Fix select control parameter

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Apr 6 07:54:11 UTC 2017


Patch Set 2: Code-Review+1 Verified+1

(2 comments)

> Uploaded patch set 2.

https://gerrit.osmocom.org/#/c/2174/1/pySim/cards.py
File pySim/cards.py:

Line 428: 		self._scc.sel_ctrl = "000C"
> why are the get_ / set_ methods added when no-one is actually using them? E
I have implemented the methods in order to be some sort of complete. There is also a get/set for cla_byte, ans from what I can see it is also not used. Maybe remove both?


https://gerrit.osmocom.org/#/c/2174/1/pySim/commands.py
File pySim/commands.py:

Line 51: 			data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4" + self.sel_ctrl + "02" + i)
> this also doesn't use sel_ctrl()
Done


-- 
To view, visit https://gerrit.osmocom.org/2174
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I1993a267c952bf37d5de1cb4e1107f445614c17b
Gerrit-PatchSet: 2
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list