在智能卡上下载 HCI 小程序有什么问题? [英] What's wrong with HCI applet downloading on smart card?

查看:32
本文介绍了在智能卡上下载 HCI 小程序有什么问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张支持 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 卡上下载这个小程序时,我收到以下错误:

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?

推荐答案

  • 卡上是否已经安装了小程序或剩余的软件包?为此使用 GET STATUS 调用.
  • 小程序是否需要一些参数才能安装?这些是传递给 Java Card 小程序的 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 小程序有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆