我对uicc工具包安装参数有问题。长时间尝试,但没有成功..
有简单的uicc工具包代码..无法理解我的错误在哪里..这是我的安装参数APDU ..永远是6A80 ..
80 E6 0C 00 => CLA INS P1(Selectable) P2
41 => TOTAL DATA LEN
//AID's
0A 51 02 03 04 05 06 07 08 09 00
0B 51 02 03 04 05 06 07 08 09 00 00
0B 51 02 03 04 05 06 07 08 09 00 00
01 00 => Privileges
=> Begin of install pararms
1A => LEN INSTALL PARAMS
EF 08 => System specific param Tag + Len
C7 02 00 00 C8 02 00 00 => volatile and nonvolatile mem quota
C9 00 => Application specific params (Tag + Len)
EA 0C
80 UICC Toolkit Application specific parameters field
00 => prio level
00 => max timer allowed
10 => max text length
01 => max menu entry
00 => pos of the mneu entry
00 => identifier of the menu entry
02 => max number of channels
01 => len of msl
00 => msl
00 => len of tar values
00 => max number of this appl. instances
=> End of install pararms
00 => Install Token Len
00 => LE
我的目标是一个非接触式+ uicc STK小程序。但我甚至无法安装一个简单的uicc工具包小程序..
希望,任何人都有一个想法..
最好的问候..
答案 0 :(得分:1)
您可以参考ETSI here的标准规范。
SIM Alliance也有很好的资源:Stepping Stones R7文档。有关安装参数,请参阅(U)SAT的第21.2.3节。您需要先注册(免费)才能下载。
有关安装命令的一些评论:
因此,安装APDU应与此类似(需要重新计算长度由LL表示)
80 E6 0C 00 -- CLA INS P1(Selectable) P2
LL -- TOTAL DATA LEN
//AID's
0A 51 02 03 04 05 06 07 08 09 00
0B 51 02 03 04 05 06 07 08 09 00 00
10 51 02 03 04 05 06 07 08 09 00 00 XX <3_bytes_TAR> XX
01 00 -- Privileges
1B -- LEN INSTALL PARAMS
EF 08 -- System parameters
C8 02 00 00 -- non volatile memory first
C7 02 00 00 -- volatile memory
EA LL -- UICC system specific param first, tag C9 after this
80 LL -- UICC Toolkit Application specific parameters tag+length
FF -- prio level (lowest priority)
00 -- max timer allowed
10 -- max text length
01 -- max menu entry
00 -- pos of the menu entry
00 -- identifier of the menu entry
02 -- max number of BIP channels
01 -- len of msl
00 -- msl
00 -- len of tar values
01 -- max number of this appl. instances
C9 00 -- Application specific params
00 -- Install Token length