4G DTU模塊上報(bào)主動(dòng)式UICC+ ZUPCI
語(yǔ)法結(jié)構(gòu)
命令 |
響應(yīng) |
|
+ZUPCI: <proactive command type>,<proactive command data>*[,<error reason>] |
命令描述
4G模塊主動(dòng)式命令上報(bào)命令。
取值說(shuō)明
*<proactive cmd data>參數(shù)段格式取決于<proactive command>,如下表:
<proactive command type> |
<proactive cmd data> details |
REFRESH 0x01 |
<CmdNum>,<CmdQual>,[<Aid>],<FileNum>[,<Fid>] |
MORE TIME 0x02 |
<CmdNum>,<CmdQual> |
POLINTVL 0x03 |
<CmdNum>,<CmdQual>,<TimeUnit>,<TimeFreq> |
POLL OFF 0x04 |
<CmdNum>,<CmdQual> |
SET UP EVNT 0x05 |
<CmdNum>,<CmdQual>,<EvtNum>,<EvtLst> |
SET UP CALL 0x10 |
<CmdNum>,<CmdQual>,[<AlphaCnf>],<Ton>,<NPI>,<CallNum>,[<subaddr>],[<Capa>],[<TimeUnit>,<TimeFreq>],[<IconWithDescCnf>,<IconIdCnf>],[<AlphaStup>],[<IconWithDescStup>,<IconIdStup>][[,<TxtAtrCnf>][,<TxtAtrStup>]] |
SEND SS 0x11 |
<CmdNum>,<CmdQual> ,[<Alpha>],<Ton>,<NPI>,<SsStr>, [<IconWithDesc>,<IconId>][,<TxtAtr>] |
SEND USSD 0x12 |
<CmdNum>,<CmdQual> ,[<Alpha>],<Dcs>,<UssdStr>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
SEND SMS 0x13 |
<CmdNum>,<CmdQual>,[<Alpha>],[<Ton>,<NPI>,<CallNum>],<TpduType>,<TPdu>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
SEND DTMF 0x14 |
無(wú) |
LAUNCH BROWSER 0x15 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,[<BrowerId>],<Url>,[<BearType>],[<FileNum>,<Fid>[,<Fid>…]],[<CodeMode>,<Txt>],[<Alpha>],[<IconWithDesc>,<IconId>][,<TxtAtr>] |
PLAY TONE 0x20 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,[<Alpha>],[<Tone>],[<TimeUnit>,<TimeFreq>],[<IconWithDesc>,<IconId>][,<TxtAtr>] |
DISPLAY TEXT 0x21 |
<CmdNum>,<CmdQual>,<CodeMode>,<Txt>,[<IconWithDesc>,<IconId>],[<ImtRspExt>],[<TimeUnit>,<TimeFreq>][,<TxtAtr>] |
GET INKEY 0x22 |
<CmdNum>,<CmdQual>,<CodeMode>,<Txt>,[<IconWithDesc>,<IconId>],[<TimeUnit>,<TimeFreq>][,<TxtAtr>] |
GET INPUT 0x23 |
<CmdNum>,<CmdQual>,<CodeMode>,<Txt>,<MinRspLen>,<MaxRspLen>,[<DefCodeMode>,<DefTxt>],[<IconWithDesc>,<IconId>][,<TxtAtr>] |
SELECT ITEM 0x24 |
<CmdNum>,<CmdQual>,[<Alpha>],<ItemNum>,<ItemID>,[<ItemNAI>],[<ItemIconID>],[<ItemTxtStr>],[<TxtAtr>][,<ItemID>,[<ItemNAI>],[<ItemIconID>],[<ItemTxtStr>],[<TxtAtr>]…],[<ItemId>],<ItemLstQuf>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
SETUP MENU 0x25 |
<CmdNum>,<CmdQual>,<Alpha>,<ItemNum>,<ItemID>,[<ItemNAI>],[<ItemIconID>],[<ItemTxtStr>],[<TxtAtr>][,<ItemID>,[<ItemNAI>],[<ItemIconID>],[<ItemTxtStr>],[<TxtAtr>]…],<ItemLstQuf>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
PLOC INFO 0x26 |
<CmdNum>,<CmdQual> |
TIMER MNG 0x27 |
<CmdNum>,<CmdQual>,<TimerId>[,<TimerVal>] |
STIDL TXT 0x28 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,<CodeMode>,<Txt>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
PRCDA PDU 0x30 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,<Cla>,<Ins>,<P1>,<P2>,[<PduData>],[<Le>] |
PON CARD 0x31 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId> |
POFF CARD 0x32 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId> |
GTRDRSTA 0x33 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId> |
RUN ATCMD 0x34 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,[<Alpha>],<AtCmdStr>,[<IconWithDesc>,<IconId>][,<TxtAtr>] |
LNGNOTFY 0x35 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>[,<Lang>] |
OPENCHNL 0x40 |
<CmdNum>,<CmdQual>,[<Alpha>],[<IconWithDesc>,<IconId>],<Ton>,<NPI>,<CallNum>,[<subaddr>],[<TimeUnit1>,<TimeFreq1>],[<TimeUnit2>,<TimeFreq2>],<BearType>,<Param>,<BufSize>,[<OadrType>,<Oadr>],[<LoginCodeMode>,<LoginTxt>],[<PswdCodeMode>,<PswdTxt>],[<PortNum>,<TranProType>],[<DataAdrType>,<DataAdr>] ,[<CodeType>,<RemAdr>][,<TxtAtr>] |
CLOSCHNL 0x41 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,[<Alpha>], [<IconWithDesc>,<IconId>][,<TxtAtr>] |
RECV DATA 0x42 |
<CmdNum>,<CmdQual>,[<Alpha>],[<IconWithDesc>,<IconId>],<DataLen>[,<TxtAtr>] |
SEND DATA 0x43 |
<CmdNum>,<CmdQual>,<DesDevID>,[<Alpha>],[<IconWithDesc>,<IconId>],<ChnlData>[,<TxtAtr>] |
GTCHSTAT 0x44 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId> |
SERVSRCH 0x45 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,[<Alpha>],[<IconWithDesc>,<IconId>],<BearType>,<SrvSrch>,[<LBType>,<Filer>][,<TxtAtr>] |
GTSERINF 0x46 |
<CmdNum>,<CmdQual>,[<Alpha>],[<IconWithDesc>,<IconId>],<BearType>,<AtrInfo>[,<TxtAtr>] |
DECLSERV 0x47 |
<CmdNum>,<CmdQual>,<SDvcId>,<DDvcId>,<BearType>,<SrvID>,<SrvRecord>[,<PortNum>,<TranProType>] |
*<Info>參數(shù)段格式取決于<LocInfo Type>,如下表:
<LocInfoType> |
<proactive cmd data> details |
00:位置信息(MCC,MNC,LAC及Cell ID; |
<MCC>,<MNC>,<LAC>,<CellId>[,<ExtCellId>] |
01:ME的IMEI; |
<Imei> |
02:網(wǎng)絡(luò)測(cè)量結(jié)果; |
<MesRlt> |
03:當(dāng)前日期、時(shí)間和時(shí)區(qū); |
<Date>,<Time>,<TimeZone> |
04:語(yǔ)言設(shè)置; |
<LangSet> |
05:時(shí)間提前量; |
<MeStat>,<TimeAdv> |
06:訪(fǎng)問(wèn)技術(shù); |
<Act> |
<proactive cmd data>參數(shù)段具體含義如下表所示。
參數(shù) |
含義 |
<proactive command type> |
主動(dòng)式命令I(lǐng)D REFRESH 0x01 MORE TIME 0x02 POLINTVL 0x03 POLL OFF 0x04 SET UP EVNT 0x05 SET UP CALL 0x10 SEND SS 0x11 SEND USSD 0x12 SEND SMS 0x13 SEND DTMF 0x14 LAUNCH BROWSER 0x15 PLAY TONE 0x20 DISPLAY TEXT 0x21 GET INKEY 0x22 GET INPUT 0x23 SELECT ITEM 0x24 SETUP MENU 0x25 PLOC INFO 0x26 TIMER MNG 0x27 STIDL TXT 0x28 PRCDA PDU 0x30 PON CARD 0x31 POFF CARD 0x32 GTRDRSTA 0x33 RUN ATCMD 0x34 LNGNOTFY 0x35 OPENCHNL 0x40 CLOSCHNL 0x41 RECV DATA 0x42 SEND DATA 0x43 GTCHSTAT 0x44 SERVSRCH 0x45 GTSERINF 0x46 DECLSERV 0x47 INVALID 0xFFFF //表示Buffer域無(wú)效,bErrCode有效 |
<proactive command data> |
命令內(nèi)容參數(shù)段,詳見(jiàn)5.1各主動(dòng)式命令對(duì)應(yīng)的子數(shù)據(jù)結(jié)構(gòu) |
|
當(dāng)<proactive command type>表示數(shù)據(jù)無(wú)效時(shí),該項(xiàng)為錯(cuò)誤原因 |
<error reason> |
解碼錯(cuò)誤原因 256 TLV結(jié)構(gòu)不全 257丟失不必要信息 258丟失必要信息 259不可理解 260部分理解 261長(zhǎng)度有誤 |
<CmdNum> |
命令碼,取值0-ff |
<CmdQual> |
00USIM初始化及全文件變更通知 01文件變更通知 02 USIM初始化及文件變更通知 03 USIM初始化 04 UICC復(fù)位 05 USIM應(yīng)用復(fù)位 06 3G會(huì)話(huà)復(fù)位 |
<Aid> |
應(yīng)用id,hex string |
<FileNum> |
文件數(shù),CmdQual為01、02、06時(shí)存在 |
<Fid> |
文件kid值,CmdQual為01、02、06時(shí)存在,hex string |
<TimeUnit> |
時(shí)間單位,00 :分; 01 :秒; 02 : 1/10秒 |
<TimeFreq> |
時(shí)間間隔,取值1-255 |
<EvtNum> |
監(jiān)視的事件列表長(zhǎng)度 |
<EvtLst> |
監(jiān)視的事件列表,每個(gè)字節(jié)定義一個(gè)事件類(lèi)型,每個(gè)事件類(lèi)型都不能在列表中出現(xiàn)次數(shù)超過(guò)一次,hex string 事件類(lèi)型的編碼如下: -' 00' = MT呼叫; - '01' =呼叫連接; - '02' =呼叫釋放; - '03' =位置信息; - '04' =用戶(hù)活動(dòng); - '05' =屏幕空閑可用; - '06' =讀卡器狀態(tài); - '07' =語(yǔ)言選擇; - '08' =瀏覽器中止; - '09' =數(shù)據(jù)可用; - '0A' =信道狀態(tài); - '0B' =接入技術(shù)變化; - '0C' =顯示參數(shù)變化; |
|
- '0D' =本地連接. |
<Alpha> |
α標(biāo)識(shí)符,hex string |
<Ton> |
號(hào)碼類(lèi)型 000:未知; - 001: 國(guó)際號(hào)碼; - 010: 國(guó)內(nèi)號(hào)碼; - 011: 網(wǎng)絡(luò)特服號(hào); -其它數(shù)值保留或用于其它接入技術(shù)。 |
<NPI> |
編碼計(jì)劃 0000: 未知; - 0001:ISDN/語(yǔ)音電話(huà)編號(hào)計(jì)劃(參考ITU-T Recommendations E.164和E.163); - 0011: 數(shù)據(jù)編號(hào)計(jì)劃(參考ITU-T recommendation X.121); - 0100: 電報(bào)編號(hào)計(jì)劃(參考ITU-T Recommendation F.69 ); - 1001: 保密編號(hào)計(jì)劃; - 1111: 擴(kuò)展保留; -其它數(shù)值保留或用于其它接入技術(shù) |
<CallNum> |
撥號(hào)號(hào)碼,string |
<subaddr> |
被叫子地址 |
<Capa> |
性能配置參數(shù),ME在向網(wǎng)絡(luò)請(qǐng)求呼叫建立中使用這些信息。如沒(méi)有此項(xiàng),ME認(rèn)為該呼叫是話(huà)音呼叫。 |
<IconWithDesc> |
圖標(biāo)限定符, 0:圖標(biāo)可自解釋(能取代α標(biāo)識(shí)符和文本串進(jìn)行顯示) 1:圖標(biāo)不可自解釋(和α標(biāo)識(shí)符或文本串共同進(jìn)行顯示) |
<IconId> |
圖標(biāo)標(biāo)識(shí),用二進(jìn)制標(biāo)識(shí)EFIMG文件中的某記錄地址,(由應(yīng)用從卡中獲取具體信息) |
<TxtAtr> |
顯示文本的屬性,hex string |
<SsStr> |
附加業(yè)務(wù)控制串,string |
<Dcs> |
編碼方案(23.038) |
<UssdStr> |
USSD字符串(22.030),string |
<TpduType> |
TPDU類(lèi)型 3GPPTPDU,CDMATPDU分別是3g和2g的tpdu |
<TPdu> |
TPDU數(shù)據(jù),hex string |
<SDvcId> |
源設(shè)備標(biāo)識(shí),編碼: - '01' =鍵; - '02' =顯示器; - '03' =耳機(jī); - '81' = UICC; |
|
- '82' =終端; - '83' =網(wǎng)絡(luò); -其它值保留. |
<DDvcId> |
目的設(shè)備標(biāo)識(shí),編碼同上 |
<BrowerId> |
瀏覽器標(biāo)識(shí)符 |
<BearType> |
承載類(lèi)型 - '00' = Technology independent: '00'; - '01' = Bluetooth; - '02' = IrDA; - '03' = RS232; - '04' = USB; - '05' to 'FF' = RFU. |
<FileNum> |
文件數(shù),CmdQual為01、02、06時(shí)存在 |
<Fid> |
文件kid值,CmdQual為01、02、06時(shí)存在,hex string |
<CodeMode> |
文本編碼模式,同短消息編碼方式相同, '00':GSM缺省7 bit編碼; 04':GSM缺省8 bit編碼; '08':UCS2. |
<Txt> |
文本串,hex string |
<Tone> |
語(yǔ)音 標(biāo)準(zhǔn)監(jiān)測(cè)音: 01:撥號(hào)音 02:被叫用戶(hù)忙 03:阻塞 04:無(wú)線(xiàn)信道確認(rèn) 05:無(wú)線(xiàn)信道不可用/掉線(xiàn) 06:出錯(cuò)/特別信息 07:呼叫等待音 08:振鈴音 ME專(zhuān)用音: 10:一般蜂鳴音 11:主動(dòng)確認(rèn)音 12:被動(dòng)確認(rèn)或出錯(cuò)音 |
<ImtRspExt> |
是否立即響應(yīng) |
<MinRspLen> |
最小響應(yīng)長(zhǎng)度,'00'表示沒(méi)有最小長(zhǎng)度限制 |
<MaxRspLen> |
最大響應(yīng)長(zhǎng)度,'FF'表示沒(méi)有最大長(zhǎng)度限制, 最小長(zhǎng)度與最大長(zhǎng)度相同表示長(zhǎng)度固定 |
<DefCodeMode> |
默認(rèn)文本編碼方式,同<CodeMode> |
<DefTxt> |
文本串,同<Txt> |
<ItemNum> |
菜單項(xiàng)的數(shù)目 |
<ItemID> |
菜單項(xiàng)ID列表 |
<ItemNAI> |
菜單項(xiàng)下一動(dòng)作指示 |
<ItemIconID> |
菜單項(xiàng)對(duì)應(yīng)的圖標(biāo)列表 |
<ItemTxtStr> |
菜單項(xiàng)文本串,同<Alpha> |
<ItemLstQuf> |
圖標(biāo)列表限定符 |
<TimerId> |
定時(shí)器標(biāo)識(shí),取值0-8,無(wú)效值為0xff |
<TimerVal> |
定時(shí)器數(shù)值,表示時(shí)分秒, hex string,如163241表示16時(shí)32分41秒 |
<Cla> |
命令等級(jí) |
<Ins> |
命令指令碼 |
<P1> |
指令參數(shù)1 |
<P2> |
指令參數(shù)2 |
<PduData> |
PDU數(shù)據(jù),hex string |
<Le> |
預(yù)期回復(fù)的數(shù)據(jù)長(zhǎng)度 |
<AtCmdStr> |
AT命令字符串,string |
<Lang> |
當(dāng)前使用的語(yǔ)言,2bytes,hex string |
<Param> |
承載參數(shù),對(duì)應(yīng)于承載類(lèi)型,編碼方式各異,hex string |
<BufSize> |
緩沖大小 |
<AdrType> |
地址類(lèi)型 '21' = IPv4地址; - '57' = IPv6地址; 其它為保留值 |
<Adr> |
地址值域,IPV4 4個(gè)字節(jié),IPV6 16個(gè)字節(jié),hex string |
<LoginCodeMode> |
用戶(hù)登錄文本編碼格式,同<CodeMode> |
<LoginTxt> |
用戶(hù)登錄文本串,同<Txt> |
<PswdCodeMode> |
用戶(hù)密碼文本編碼格式,同<CodeMode> |
<PswdTxt> |
用戶(hù)密碼文本串,同<Txt> |
<TranProType> |
傳輸協(xié)議類(lèi)型 '01': UDP (RFC 768 [9]有定義); '02': TCP (RFC 793 [10]有定義); 其它值保留. |
<PortNum> |
端口號(hào) |
<RemAdr> |
地址值域,hex string |
<RsvDataLen> |
接收的信道數(shù)據(jù)長(zhǎng)度 |
<SendChnlData> |
發(fā)送的信道數(shù)據(jù),hex string |
<LBType> |
本地承載類(lèi)型,同<BearType> |
<Filer> |
設(shè)備過(guò)濾器數(shù)據(jù),編碼由承載技術(shù)決定,hex string |
<AtrInfo> |
屬性信息 |