Move "suspend_uicc" command from pySim-shell to ts_102_221.py

The SUSPEND UICC command is a TS 102 221 (UICC) command, so move
it to the UICC Card Profile.

Also, make sure that any shell command sets specified in the
CardProfile are actually installed during equip().

Change-Id: I574348951f06b749aeff986589186110580328bc
This commit is contained in:
Harald Welte
2023-06-06 17:00:51 +02:00
parent 4e5aa304fc
commit 659781cbe1
3 changed files with 32 additions and 17 deletions

View File

@@ -199,6 +199,11 @@ close_channel
:func: Iso7816Commands.close_chan_parser
TS 102 221 commands
-------------------
These are commands as specified in ETSI TS 102 221, the core UICC specification.
suspend_uicc
~~~~~~~~~~~~
This command allows you to perform the SUSPEND UICC command on the card. This is a relatively
@@ -209,8 +214,8 @@ The pySim command just sends that SUSPEND UICC command and doesn't perform the f
including the electrical power down.
.. argparse::
:module: pySim-shell
:func: Iso7816Commands.suspend_uicc_parser
:module: pySim.ts_102_221
:func: CardProfileUICC.AddlShellCommands.suspend_uicc_parser