Attention is currently required from: laforge.
dexter has posted comments on this change. (
https://gerrit.osmocom.org/c/pysim/+/33210 )
Change subject: ts_102221: Add "resume_uicc" command
......................................................................
Patch Set 2: Code-Review+1
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/pysim/+/33210/comment/111fbefe_406dec7a
PS2, Line 15: between SUSPEND and RESUME by TS 102 221 Section 11.1.22.3.2
Maybe adding this note to the command output makes sense since users might expect this to
work.
Patchset:
PS2:
I have tried this out and it does not work (as the commit message mentioned) but the I
cannot see any non permitted commands between suspend and resume (I guess the RETRIEVE
DATA after suspend is permitted since it is used to get the token.)
pySIM-shell (MF)> suspend_uicc
Negotiated Duration: 86400 secs, Token: 18902089c6e3026e, SW: 9000
I get the following on pcscd:
04127018 [139824061212416] APDU: 80 76 00 00 04 01 01 03 01
00007676 [139824061212416] SW: 61 0A
00000310 [139824061212416] APDU: 80 C0 00 00 0A
00002647 [139824061212416] SW: 02 18 18 90 20 89 C6 E3 02 6E 90 00
Then when I try to resume:
pySIM-shell (MF)> resume_uicc 18902089c6e3026e
EXCEPTION of type 'SwMatchError' occurred with message: 'SW match failed!
Expected 9000 and got 6fff: Checking errors - The interpretation of this status word is
command dependent'
To enable full traceback, run the following command: 'set debug true'
I get the following on pcsdc:
13094679 [139824061212416] APDU: 80 76 01 00 08 18 90 20 89 C6 E3 02 6E
00003212 [139824061212416] SW: 6F FF
Or is resume only possible when power was shut down after suspend?
(I have tested with sysmo-usim-sja5)
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/33210
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I3322fde74f680e77954e1d3e18a32ef5662759f2
Gerrit-Change-Number: 33210
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Wed, 07 Jun 2023 08:37:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment