Attention is currently required from: laforge.
Patch set 2:Code-Review +1
2 comments:
Commit Message:
Patch Set #2, 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:
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 change 33210. To unsubscribe, or for help writing mail filters, visit settings.