在uicc初始化过程中 , 终端回发送 profile download命令给uicc
如果支持 s 级,只要 通过 modem接口 访问 CAT功能的已连接实体 连接/端口/改变profile ,都会发送profile download指令。
过程定义在 ETSI TS 102.221 (Smart Cards; UICC-Terminal interface;Physical and logical characteristics) 规范中。
这个过程让UICC知道 终端有哪些能力,然后UICC决定使用那些终端可以支持的CAT指令。
如果终端不发送profile download指令,那么UICC应该认为终端不支持CAT.
80 10 00 00 23
10
FF FF FF FF -7F 9F- 00- DF FF 00 00 1F E2 08 11 06
C7 C0 00 00 00 00 40 00 51 00 00 00 00 18 00 00
03 00 00
91 0E
1个字节(下载能力)
Call Control by NAA
USSD string data object support in Call Contrl by USIM
Timer expiration
SMS-PP data download
Menu selection
Cell Broadcatst data download
SMS-PP data download
Profile download
第2个字节
Display text
UCS2 Display suported
UCS2 Enctry supported
Call Control by NAA
MO short message control support
Call Control by NAA
Call Control by NAA
Command result
第3个字节(Proactive UICC)
Refresh
Polling Off
Poll Interval
Play Tone
More Time
Get Input
Get InKey
Display Text
第4个字节(Proactive UICC)
Provide Local Information (NMR) —此功能不支持
Provide Local Information(MCC, MNC, LAC, Cell Id, IMEI)
Set Up MENU
Set Up CALL
Send USSD
Send SS
Send Short Message with 3GPP SMS TPDU
Select Item
0111 1111
第5个字节(事件驱动信息)
Card reader status事件
Idle screen avaiable事件 (不支持)
User activity (不支持)
Location status
Call disconnected
Call connected
MT Call
Proactive UICC: Set UP Event List
1001 1111
第6字节(事件驱动信息扩展)
Language Selection
Broswer Termination( “ac”被支持)
Data avaiable
Channel status
Access Technolopy Change
Disaplay parameters changes
Local Connection
Network Search Mode Change
全不支持
第7个字节(为 class a的Multi card proactive commands)
Power On Card
Power Off Card
Perform Card APDU
Get Reader Status(card reader status)
Get Reader Status(card reader identifier)
RFU=0
第8个字节 (Proactive UICC)
Call Control by NAA (Network Access Application)
Setup Call
Run AT Command(也就是b class被支持 ) (此功能不支持)
Setup Idel Mode text
Get InKey
Proactive UICC: Provider Local Infromation(date/time/timezone)
Proactive UICC: Timer Management(get current value)
Proactive UICC: Timer Management(start/stop)
1101 1111
第9字节
Proactive UICC: Provide Local Information(Access Technology)
Proactive UICC: Lanch Browser( class “ab” 支持)
Proactive UICC: Language Notification
Proactive UICC: Provide Local Information (Timing Advance)
Proactive UICC: Provide Local Information (language)
Proactive UICC: Provide Local Information (NMR)
Send DTMF command
Display Text
第10字节 (软键盘支持)
RFU=0
RFU=0
RFU=0
RFU=0
RFU=0
RFU=0
Soft Key支持:Select Item
Soft Key支持: Setup Menu
第11字节(soft key info)
第12字节 (BIP proactive commands)
Proactive UICC: Declare Service (不支持)
Proactive UICC: Get Service Information (不支持)
Proactive UICC: Service Search (不支持)
Proactive UICC: Get Channel Status
Proactive UICC: Send Data
Proactive UICC: Receive Data
Proactive UICC: Close Channel
Proactive UICC: Open Channel
0001 1111
第13字节: (BIP支持的bearers)
b8-b6 = 终端支持的通道数
RS232
IrDA
Bluetooth
GPRS
CSD
1110 0010 也就是,支持的通道数为8, 仅支持GPRS
第14字节:(屏幕高度)
第15字节:(屏幕宽度)
第16字节: (屏幕效果)
第17字节: (BIP支持的传输接口/承载)
HSDPA
E-UTRAN
直接通信通道
UDP(UICC处于客户模式,本地连接)
TCP(UICC处于客户模式,本地连接)
TCP(UICC服务器模式)
UDP(UICC客户模式,远程连接)
TCP(UICC客户模式,远程连接)
第18字节:
Proactive UICC: Provide Local Information(Search Mode Change)
第19字节: TIA/EIA-136-270 设施
第20字节: 3GPP2 C.S0035-B CCAT
CDMA CSIM应用
第21字节: 浏览器能力
b8-b5 RFU=0
CHTML
HTML
XHMTL
WML
第35字节:
b8-b5 RFU=0
Refresh with “Application Update” mode
Data conection Status Change Event support-PDN Connection
Data conection Status Change Event support-PDP Connection
Proactive UICC: GET INPUT (Variable Time out)
80 12 00 00 0E
12
D0 (Proactive UICC command tag)
0C (command length)
81 (Command details tag) 03 01 (Command number) 05(SET UP EVENT LIST) 00 (Command Qualifier=RFU)
82 (Device identity tag)02 81 (UICC) 82(terminal)
99 (Event list tag) 01 03 (Location status)
90 00
80 14 00 00 0C
14
81 (Command details) 03 01 05(set up event) 00
02(Device identities)02 82(terminal) 81 (UICC)
83 (Result)01 00
90 00
表示 set up event list 命令,成功执行
参考:TS 102.223 第98页 Structure of TERMINAL RESPONSE
80 C2 00 00 17
C2
D6 (Event download)15
99 (Event list)01 03 (location status)
82 (Device identity)02 82 (terminal) 81 (uicc)
9B (Location status) 01 00 (Normal Service)
93 09
64 F0 00 70 CE (TAC) F1 41 38 1F(Cell Id)
91 12
80 12 00 00 12
12
D0 (Proactive UICC command )10
81 (Command details)03 01 (Command number) 21 (Command Type=display text) 80 ( 1000 0000)
82 (Device identity)02 81 02
8D (Text string) 05 48 65 6C 6C 6F
90 00
bit 8 = 1 wait for user to clear message
bit 1 = 0 normal priority
80 C2 00 00 17
C2
D6 15
99 01 03
82 02 82 81
9B 01 00
93 09
64 F0 (MCC) 00 (MNC) 70 CE(LAC/TAC) F1 45 28 1F (Cell Id)
90 00
80 14 00 00 0C
14
81 ( (Command details) 03 01 21(display tex) 80
82 (Device identities)02 82 81
83 (result)01 00
90 00
报告显示文字任务,成功执行