问题描述
我有一个支持SWP的智能卡.我想安装一个HCI小程序(即主机控制器接口小程序)以在支持NFC的手机中通过NFC使用.
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.
我已经编写了一个示例小程序并已成功编译,现在可以将其下载并安装到我的智能卡(USIM)中了.
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).
不幸的是,当尝试在我的sim卡上下载此applet时,出现以下错误:
Unfortunately, when trying to download this applet on my sim, I get the following error:
我正在为此使用PyApduTool.我在哪里错了或者我错过了什么?是否需要任何先决条件或配置?
I'm using PyApduTool for this purpose. where am I wrong or am I missing something? Is there any prerequisites or configuration needed?
推荐答案
- 卡上是否已经安装了applet或剩余的软件包?为此,请使用GET STATUS调用.
- 该applet是否需要一些参数才能安装?这些是一些字节编码的参数,传递给Java Card applet的
install
方法.如果HCI小程序需要它,它可以抛出这样的状态字. - 该小程序是否需要一些特殊的UICC工具包参数,即它是一个工具包小程序吗?工具箱小程序是一种能够对外部事件做出反应的小程序,例如呼入或呼出,OTA,设备的位置更改,提供STK菜单结构,...
- 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, ...
如果没有帮助,请尝试使用其他工具.我只是想发布 GPShell 的较新版本,并且会对Beta测试器感兴趣.这个工具是用C语言编写的,也有基于Java的工具,例如 GlobalPlatformPro 会更适合您的环境.
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.
这篇关于在智能卡上下载HCI小程序有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!