问题
I have an SWP supported smart card. I want to install an HCI applet (i.e. Host Controller Interface applet) to use over NFC in an NFC supported mobile phone.
I have written a sample applet and compiled successfully, and now I'm ready to download and install this applet on my smart card (USIM).
Unfortunately, when trying to download this applet on my sim, I get the following error:
I'm using PyApduTool for this purpose. where am I wrong or am I missing something? Is there any prerequisites or configuration needed?
回答1:
- Is there already an applet or remaining package installed on the card? Use a GET STATUS call for this.
- Does the applet requires some parameters to get installed? These are some byte encoded parameters passed to the
install
method of the Java Card applet. If the HCI applet needs it, it can throw such a status word. - Does the applet need some special UICC toolkit parameters, i.e. is it a toolkit applet? A toolkit applet is an applet being able to react on external event, i.e. in or out call, OTA, location changes of the device, providing STK menu structures, ...
If nothing helps try it with another tool. I'm just trying to release a newer version of GPShell and would be interested in a beta tester. This a tool is written in C, there are also Java based tools, e.g. GlobalPlatformPro whatever fits your environment better.
来源:https://stackoverflow.com/questions/62280073/whats-wrong-with-hci-applet-downloading-on-smart-card