4G DTU模塊執(zhí)行主動(dòng)式命令+ ZUTR
語(yǔ)法結(jié)構(gòu)
命令 |
響應(yīng) |
+ZUTR=<proactive command type>[,<cmd qualifier>[,<cmd num>[,<result>,[<add result>][,<proactive cmd data>*] |
OK CME ERROR:<err> |
+ ZUTR =? |
+ ZUTR:[<supported proactive commands>] |
命令描述
4G模塊設(shè)置命令是主動(dòng)式命令請(qǐng)求。
取值說(shuō)明
*<proactive cmd data>參數(shù)段格式取決于<proactive command>,如下表:
<proactive command type> |
<proactive cmd data> details |
POLINTVL 0x03 |
<TimeUnit>,<TimeFreq> |
SET UP CALL 0x10 |
[<BcRepFg>,<BcReptr>,<DevType>,[<Ton>,<NPI>,<CallNum>,][<Ton>,<NPI>,<SsStr>,][<Dcs>,<UssdStr>,][<Pd>,<TransId>,<MsgType>,<Nsapi>,<LlcSapi>,<DlyClss>,<ReliabClss>,<PeakPut>,<PrecClss>,<MeanPut>[,<TraffClss>,<DelivOrd>,<DelivErrSDU>,<MaxSDUsiz>,<MaxBitUp>,<MaxBitDown>,<ResiBER>,<SDUerrRat>,<TranLay>,<TrafHand>,<GuarBitUp>,<GuarBitDown>[,<SignInd>,<SourDescr>[,<MaxBitExt>,<GuarBitExt>]]],<PdpType>,<PdpTypeNum>,<AddrInfo>,[<Apn>],[<CfgProto>,<ProtoIDLen>,<ProtoID>,[<ProtoIdCont>]],[<Capa1>,<Capa2>,<subaddr>,<Alpha>],[<result>,<add result>],[<CodeMode>, <Text>] |
SEND USSD 0x12 |
[<BcRepFg>,<BcReptr>,<DevType>,[<Ton>,<NPI>,<CallNum>,][<Ton>,<NPI>,<SsStr>,][<Dcs>,<UssdStr>,][<Pd>,<TransId>,<MsgType>,<Nsapi>,<LlcSapi>,<DlyClss>,<ReliabClss>,<PeakPut>,<PrecClss>,<MeanPut>[,<TraffClss>,<DelivOrd>,<DelivErrSDU>,<MaxSDUsiz>,<MaxBitUp>,<MaxBitDown>,<ResiBER>,<SDUerrRat>,<TranLay>,<TrafHand>,<GuarBitUp>,<GuarBitDown>[,<SignInd>,<SourDescr>[,<MaxBitExt>,<GuarBitExt>]]],<PdpType>,<PdpTypeNum>,<AddrInfo>,[<Apn>],[<CfgProto>,<ProtoIDLen>,<ProtoID>,[<ProtoIdCont>]],[<Capa1>,<Capa2>,<subaddr>,<Alpha>],[<result>,<add result>],[<CodeMode1>, <Text1>],[<CodeMode2>,<Text2>] |
GET INKEY 0x22 |
[<CodeMode>,<InputTxt>],[<TimeUnit>,<TimeFreq>] |
GET INPUT 0x23 |
<CodeMode>,<InputTxt> |
SELECT ITEM 0x24 |
<ItemId> |
PLOC INFO 0x26 |
<LocInfoType>,<Info>* |
TIMER MNG 0x27 |
<TimerId>[,<TimerVal>] |
PRCDA PDU 0x30 |
<SW1>,<SW2>,<RApdu> |
PON CARD 0x31 |
<RCardAtr> |
GTRDRSTA 0x33 |
[<RCardStatus>],[<RCardId>] |
RUN ATCMD 0x34 |
<AtRsp> |
OPENCHNL 0x40 |
[<BearType>,<Param>],[<BufSize>],[<AdrType>,<Adr>],[<ChnlID>,<Connt>,<Info>] |
RECV DATA 0x42 |
<DataLenth>[,<RecvData>] |
SEND DATA 0x43 |
<DataLenth>[,<SendData>] |
GTCHSTAT 0x44 |
<ChnlID>,<Connt>,<Info> |
SERVSRCH 0x45 |
<SrvList> |
GTSERINF 0x46 |
<BearType>,<SrvID>,<SrvRecord> |
*<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:訪問(wèn)技術(shù); |
<Act> |
參數(shù) |
含義 |
<proactive command type> |
主動(dòng)式命令I(lǐng)D REFRESH 0x01 MORE TIME 0x02 POLL INTERVAL 0x03 POLL OFF 0x04 SET UP EVENT 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 PROVIDE LOCAL INFORMATION 0x26 TIMER MANAGEMENT 0x27 SET UP IDLE MODE TEXT 0x28 PERFORM CARD APDU 0x30 POWER ON CARD 0x31 POWER OFF CARD 0x32 GET READER STATUS 0x33 RUN AT CMD 0x34 LANGUAGE NOTIFICATION 0x35 OPEN CHANNEL 0x40 CLOSE CHANNEL 0x41 RECEIVE DATA 0x42 SEND DATA 0x43 GET CHANNEL STATUS 0x44 SERVICE SEARCH 0x45 GET SERVICE INFORMATION 0x46 DECLARE SERVICE 0x47 INVALID 0xFFFF //表示Buffer域無(wú)效,bErrCode有效 |
<cmd qualifier> |
命令限定符,指定各主動(dòng)式命令限定操作 |
<result> |
一般結(jié)果說(shuō)明,見(jiàn)中移規(guī)范6.6.3 |
<add result> |
附加的結(jié)果說(shuō)明,在一般結(jié)果為20、21、26、34、37、38、39、3A時(shí)有具體的原因做補(bǔ)充信息 |
<proactive cmd data> |
補(bǔ)充信息數(shù)據(jù)參數(shù)段,詳見(jiàn)對(duì)應(yīng)的各主動(dòng)式命令子類型 |
<TimeUnit> |
時(shí)間單位,00 :分; 01 :秒; 02 : 1/10秒 |
<TimeFreq> |
時(shí)間間隔,取值1-255 |
<Ton> |
號(hào)碼類型 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ǔ)音電話編號(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 |
<SsStr> |
附加業(yè)務(wù)控制串,string |
<Dcs> |
編碼方案(23.038) |
<UssdStr> |
USSD字符串(22.030),string |
<Pd> |
Protocol discriminator, reter to 24.008 10.2 |
<TransId> |
Transaction identifier, reter to 24.008 10.3.2 |
<MsgType> |
Activate PDP context request message identity, reter to 24.008 10.4 |
<Nsapi> |
Network service access point identifier, reter to 24.008 10.5.6.2 |
<LlcSapi> |
LLC service access point identifier, reter to 24.008 10.2 |
<ReqQoS> |
Quality of service, reter to 24.008 10.5.6.5 |
<PdpType> |
PDP type organisation, reter to 24.008 10.5.6.4 |
<PdpTypeNum> |
PDP type number |
<AddrInfo> |
Address information, hex string |
<Apn> |
Access Point Name, hex string |
<CfgProtocol> |
Configuration protocol |
<ProtoID> |
Protocol ID, hex string |
<Capa1> |
性能配置參數(shù)1,ME在向網(wǎng)絡(luò)請(qǐng)求呼叫建立中使用這些信息。如沒(méi)有此項(xiàng),ME認(rèn)為該呼叫是話音呼叫。 |
<subaddr> |
被叫子地址 |
<Alpha> |
Alpha標(biāo)識(shí),hex string |
<Capa2> |
性能配置參數(shù)2 |
<BcReptr> |
BC重復(fù)指示器,'01' =交替模式;'03' =順序模式 |
<CodeMode> |
文本編碼模式,同短消息編碼方式相同, '00':GSM缺省7 bit編碼; 04':GSM缺省8 bit編碼; '08':UCS2. |
<InputTxt> |
文本串,hex string |
<MCC> |
國(guó)家碼, hex string |
<MNC> |
網(wǎng)絡(luò)碼, hex string |
<LAC> |
位置區(qū)碼, hex string |
<CellId> |
小區(qū)ID |
<ExtCellId> |
擴(kuò)展小區(qū)ID |
<Imei> |
ME的IMEI號(hào),decimal string |
<MesRlt> |
網(wǎng)絡(luò)測(cè)量結(jié)果,hex string |
<BcchList> |
BCCH信道列表,最大160字節(jié),hex string |
<Date> |
當(dāng)前日期,格式為YYMMDD |
<Time> |
當(dāng)前時(shí)間,格式為HHMMSS |
<TimeZone> |
當(dāng)前時(shí)區(qū) |
<LangSet> |
語(yǔ)言設(shè)置,hex string |
<MeStat> |
ME狀態(tài) - '00' = ME is in the idle state; - '01' = ME is not in idle state; - '02' to'FF'= reserved values. |
<TimeAdv> |
時(shí)間提前量,編碼方式參照3GPP TS 44.018 |
<Act> |
訪問(wèn)技術(shù) |
<TimerId> |
定時(shí)器標(biāo)識(shí),取值0-8,無(wú)效值為0xff |
<TimerVal> |
定時(shí)器數(shù)值,表示時(shí)分秒, hex string,如163241表示16時(shí)32分41秒 |
<SW1> |
狀態(tài)字1 |
<SW2> |
狀態(tài)字2 |
<RApdu> |
數(shù)據(jù)域,hex string |
<RCardAtr> |
卡的ATR,hex string |
<RCardStatus> |
讀卡器狀態(tài) |
<RCardId> |
讀卡器ID,hex string |
<AtRsp> |
AT響應(yīng)串,結(jié)構(gòu)嚴(yán)格按照3GPP TS 27.007 [12]定義的命令行的響應(yīng) |
<BearType> |
承載類型 - '00' = Technology independent: '00'; - '01' = Bluetooth; - '02' = IrDA; - '03' = RS232; - '04' = USB; - '05' to 'FF' = RFU. |
<Param> |
承載參數(shù),對(duì)應(yīng)于承載類型,編碼方式各異,hex string |
<BufSize> |
緩沖大小 |
<AdrType> |
地址類型 '21' = IPv4地址; - '57' = IPv6地址; 其它為保留值 |
<Adr> |
地址值域,IPV4 4個(gè)字節(jié),IPV6 16個(gè)字節(jié),hex string |
<ChnlID> |
信道標(biāo)識(shí)符(1-7,0表示沒(méi)有信道可獲得) |
<Connt> |
0表示沒(méi)有建立連接或PDP語(yǔ)境未激活;1表示建立了連接或PDP語(yǔ)境被激活 |
<Connt Info> |
00:沒(méi)有給出進(jìn)一步信息;01-04未用;05:掉線;其他值保留 |
<DataLenth> |
信道的數(shù)據(jù)長(zhǎng)度 |
<RecvData> |
接收的信道數(shù)據(jù),hex string |
<SendData> |
發(fā)送的信道數(shù)據(jù),hex string |
<SrvList> |
可用業(yè)務(wù)列表,目前只對(duì)藍(lán)牙有效,每個(gè)業(yè)務(wù)記錄33bytes |
<BearType> |
承載類型 - '00' = Technology independent: '00'; - '01' = Bluetooth; - '02' = IrDA; - '03' = RS232; - '04' = USB; - '05' to 'FF' = RFU. |
<SrvID> |
業(yè)務(wù)標(biāo)識(shí)符, - '00' = Technology independent: '00'; - '01' = Bluetooth; - '02' = IrDA; - '03' = RS232; - '04' = USB; - '05' to 'FF' = RFU. |
<SrvRecord> |
記錄值,hex string |
注: <ReqQoS>包含:<DlyClss>,<ReliabClss>,<PeakPut>,<PrecClss>,<MeanPut>[,<TraffClss>,
<DelivOrd>,<DelivErrSDU>,<MaxSDUsiz>,<MaxBitUp>,<MaxBitDown>,<ResiBER>,<SDUerrRat>,<TranLay>,<TrafHand>,<GuarBitUp>,<GuarBitDown>[,<SignInd>,<SourDescr>[,<MaxBitExt>,<GuarBitExt> 參見(jiàn)24.008 10.5.6.5。
典型示例
請(qǐng)求:AT+ZUTR=36,1,2,0,,0<CR>
響應(yīng):<CR><LF>OK<CR><LF>