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 解析
最新推荐文章于 2014-01-14 09:54:41 发布
wap push pdu 解析