Pdu:
0051000BA13108086406F600F5A785 00 ——SMSC 地址信息的長度。00表示用手機上設置的短信中心號碼,PDU 的“SMSC 址格式”段和“SMSC 地址”段將省去 51 ——信息頭字節。這個字節的結構見表1,各個位的具體含義見表 x。 表1 MT消息頭標記
00 ——消息基準值(TP-MR) 0BA13108086406F6 00 ——協議標識(TP-PID) ,普通GSM 類型,點到點方式。也有其它值,但很少用,如有興趣,請參看GSM 03.40。 F5A785 _
User data header 1(WDP Header): 0B05040B8423F00003030101 0B ——UDHL 05040B8423F0 ——有的地方認爲,這段編碼表示接下來是一個WAP PUSH ,但是彩信通知消息也是如此。 05 --- Information-Element-Identifier; 04 ---- Length-of-Information-Element。 00 —— Tag。0x00表示是Short Information-Element –Identifier,即8-bit reference number.; 0x08表示爲Long IEI,16-bit datagram reference number。 03 ---- Length。 03 ---- Reference number。 01 —— Total Packet。Wap push被分成1個短信發送 01 —— Current Packet。當前包的短信序號
User data header 2(WSP Header): 29060603AE81EA8DCA
對0x03、0x81、0x8D的標誌位定義參見:WAP-230-WSP-20010705-a.pdf 附表中Table 38、39 wsp structure:
02—— Version number : WBXML version 1.0 05—— SGML Public Identifier: //WAPFORUM//DTD SI 1.0//EN 6A—— UTF-8 00—— String table length 45—— <si /> (service indication),with content C6—— <indication />,with content and attributes 08—— action=signal-high 0C—— href="http:// 03—— Inline string follows(URI字符串開始) 3231312e3133362e3135332e33302f776170707573682f70757368496e64
00 ——url字符串結束 01—— END (of indication attribute list) 03—— Inline string follows(內容描述字符串開始) E8AFB7E782B9E587BBE4BBA5E4B88BE993BEE68EA5E88EB7E58F9
00—— 內容描述字符串結束 01—— </indication> 01—— </si> |
wap push pdu 解析
wap push pdu 解析
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.