Message ID | 20161018095734.GA1521@ass40.sysmocom.de |
---|---|
State | New |
Headers | show |
--> https://osmocom.org/issues/1828
On Tue, Oct 18, 2016 at 11:57:34AM +0200, Neels Hofmeyr wrote:
> > >> RuntimeError: SW match failed ! Expected 9000 and got 6b00.
diff --git a/pySim/commands.py b/pySim/commands.py index cb72a11..721b3d4 100644 --- a/pySim/commands.py +++ b/pySim/commands.py @@ -41,7 +41,7 @@ class SimCardCommands(object): def select_file(self, dir_list): rv = [] for i in dir_list: - data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4000002" + i) + data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4000C02" + i) rv.append(data) return rv