-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.html
250 lines (243 loc) · 14.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>JavaScript PDU Mode SMS Decoder</title>
<link rel="stylesheet" type="text/css" charset="UTF-8" href="bundle.css" />
<script type="text/javascript" src="bundle.js"></script>
</head>
<body>
<p>
<a href="https://github.com/tladesignz/jsPduDecoder">
<img
style="position: absolute; top: 0; right: 0; border: 0;"
src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" />
</a>
</p>
<h1>
JavaScript PDU Mode SMS Decoder
</h1>
<div id="content">
<form id="fPdu" action="">
<ul>
<li>
<label for="pdu">PDU</label>
<input type="text" id="pdu" name="pdu" size="120" />
</li>
<li>
<input type="checkbox" id="ud_only" name="ud_only" value="1" />
<label for="ud_only">Contains only User Data</label>
</li>
<li>
<fieldset>
<legend>Charset</legend>
<input type="radio" name="alphabet" class="prefix" disabled="disabled" checked="checked" id="standard" value="standard" />
<label for="standard">GSM 7-Bit</label>
<input type="radio" name="alphabet" class="prefix" disabled="disabled" id="ucs2" value="ucs2" />
<label for="ucs2">Unicode UCS2</label>
<input type="radio" name="alphabet" class="prefix" disabled="disabled" id="eightBit" value="8bit" />
<label for="eightBit">8 Bit binary Data</label>
</fieldset>
</li>
<li>
<input type="checkbox" name="udhi" class="prefix" disabled="disabled" id="udhi" value="1" />
<label for="udhi">User Data Header</label>
</li>
<li>
<button type="submit">Decode</button>
</li>
</ul>
</form>
<div id="output"></div>
<div id="readme">
<h1>
README - jsPduDecoder
</h1>
<p>
Decodes many PDU encoded SMS formats.
The main decoding is done in JavaScript. For WBXML decoding, a server side third party library 'wbxml.lib' is used via a proxy script.
</p>
<p>
COPYRIGHT AND LICENCE
</p>
<p>
Copyright (C) 2009 <a href="http://benjaminerhart.com/">Benjamin Erhart</a>
</p>
<p>
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
</p>
<p>
See <a href="http://dev.perl.org/licenses/">dev.perl.org/licenses</a> for more information.
</p>
<table>
<colgroup>
<col style="width: 25%" />
<col style="width: 25%" />
<col style="width: 50%" />
</colgroup>
<caption>Some test examples, the tool will work with:</caption>
<tbody>
<tr>
<td>Standard SMS</td>
<td>
<a href="http://twit88.com/home/utility/sms-pdu-encode-decode">
http://twit88.com/home/utility/sms-pdu-encode-decode
</a>
</td>
<td>
<a href="?pdu=07911326040000F0040B911346610089F60000208062917314080CC8F71D14969741F977FD07">
07911326040000F0040B911346610089F60000208062917314080CC8F71D14969741F977FD07
</a>
</td>
</tr>
<tr>
<td>
Standard SMS Deliver
</td>
<td>
<a href="http://www.dreamfabric.com/sms/">http://www.dreamfabric.com/sms/</a>
</td>
<td>
<a href="?pdu=07917283010010F5040BC87238880900F10000993092516195800AE8329BFD4697D9EC37">
07917283010010F5040BC87238880900F10000993092516195800AE8329BFD4697D9EC37
</a>
</td>
</tr>
<tr>
<td>
Standard SMS Submit
</td>
<td>
<a href="http://www.dreamfabric.com/sms/">http://www.dreamfabric.com/sms/</a>
</td>
<td>
<a href="?pdu=0011000B916407281553F80000AA0AE8329BFD4697D9EC37">
0011000B916407281553F80000AA0AE8329BFD4697D9EC37
</a>
</td>
</tr>
<tr>
<td>
Standard SMS
</td>
<td>
<a href="http://mobiletidings.com/2009/02/11/more-on-the-sms-pdu/">http://mobiletidings.com/2009/02/11/more-on-the-sms-pdu/</a>
</td>
<td>
<a href="?pdu=0001000B915121551532F400000CC8F79D9C07E54F61363B04">
0001000B915121551532F400000CC8F79D9C07E54F61363B04
</a>
</td>
</tr>
<tr>
<td>
Flash SMS
</td>
<td>
<a href="http://mobiletidings.com/2009/02/12/sending-a-flash-sms-message/">http://mobiletidings.com/2009/02/12/sending-a-flash-sms-message/</a>
</td>
<td>
<a href="?pdu=0001010B915121551532F40010104190991D9EA341EDF27C1E3E9743">
0001010B915121551532F40010104190991D9EA341EDF27C1E3E9743
</a>
</td>
</tr>
<tr>
<td>
3 Concatenated SMS
</td>
<td>
<a href="http://mobiletidings.com/2009/02/18/combining-sms-messages/">http://mobiletidings.com/2009/02/18/combining-sms-messages/</a>
</td>
<td>
<a href="?pdu=0041000B915121551532F40000A0050003000301986F79B90D4AC3E7F53688FC66BFE5A0799A0E0AB7CB741668FC76CFCB637A995E9783C2E4343C3D4F8FD3EE33A8CC4ED359A079990C22BF41E5747DDE7E9341F4721BFE9683D2EE719A9C26D7DD74509D0E6287C56F791954A683C86FF65B5E06B5C36777181466A7E3F5B0AB4A0795DDE936284C06B5D3EE741B642FBBD3E1360B14AFA7E7">
0041000B915121551532F40000A0050003000301986F79B90D4AC3E7F53688FC66BFE5A0799A0E0AB7CB741668FC76CFCB637A995E9783C2E4343C3D4F8FD3EE33A8CC4ED359A079990C22BF41E5747DDE7E9341F4721BFE9683D2EE719A9C26D7DD74509D0E6287C56F791954A683C86FF65B5E06B5C36777181466A7E3F5B0AB4A0795DDE936284C06B5D3EE741B642FBBD3E1360B14AFA7E7
</a>
<br />
<br />
<a href="?pdu=0041010B915121551532F40000A005000300030240EEF79C2EAF9341657C593E4ED3C3F4F4DB0DAAB3D9E1F6F80D6287C56F797A0E72A7E769509D0E0AB3D3F17A1A0E2AE341E53068FC6EB7DFE43768FC76CFCBF17A98EE22D6D37350B84E2F83D2F2BABC0C22BFD96F3928ED06C9CB7079195D7693CBF2341D947683EC6F761D4E0FD3CB207B999DA683CAF37919344EB3D9F53688FC66BFE5">
0041010B915121551532F40000A005000300030240EEF79C2EAF9341657C593E4ED3C3F4F4DB0DAAB3D9E1F6F80D6287C56F797A0E72A7E769509D0E0AB3D3F17A1A0E2AE341E53068FC6EB7DFE43768FC76CFCBF17A98EE22D6D37350B84E2F83D2F2BABC0C22BFD96F3928ED06C9CB7079195D7693CBF2341D947683EC6F761D4E0FD3CB207B999DA683CAF37919344EB3D9F53688FC66BFE5
</a>
<br />
<br />
<a href="?pdu=0041020B915121551532F4000090050003000303CAA0721D64AE9FD3613AC85D67B3C32078589E0ED3EB7257113F2EC3E9E5BA1C344FBBE9A0F7781C2E8FC374D0B80E4F93C3F4301DE47EBB4170F93B4D2EBBE92CD0BCEEA683D26ED0B8CE868741F17A1AF4369BD3E37418442ECFCBF2BA9B0E6ABFD9EC341D1476A7DBA03419549ED341ECB0F82DAFB75D">
0041020B915121551532F4000090050003000303CAA0721D64AE9FD3613AC85D67B3C32078589E0ED3EB7257113F2EC3E9E5BA1C344FBBE9A0F7781C2E8FC374D0B80E4F93C3F4301DE47EBB4170F93B4D2EBBE92CD0BCEEA683D26ED0B8CE868741F17A1AF4369BD3E37418442ECFCBF2BA9B0E6ABFD9EC341D1476A7DBA03419549ED341ECB0F82DAFB75D
</a>
</td>
</tr>
<tr>
<td>
Service Load WAP Push
</td>
<td>
<a href="http://mobiletidings.com/2009/02/21/wap-push-over-sms-encodings/">http://mobiletidings.com/2009/02/21/wap-push-over-sms-encodings/</a>
</td>
<td>
<a href="?pdu=0041000B915121551532F400042E0B05040B84C0020003F001010A060403B081EA02066A008509036D6F62696C65746964696E67732E636F6D2F0001">
0041000B915121551532F400042E0B05040B84C0020003F001010A060403B081EA02066A008509036D6F62696C65746964696E67732E636F6D2F0001
</a>
</td>
</tr>
<tr>
<td>
Service Indication WAP Push
</td>
<td>
<a href="http://mobiletidings.com/2009/02/26/wap-push-over-sms-si-encoding/">http://mobiletidings.com/2009/02/26/wap-push-over-sms-si-encoding/</a>
</td>
<td>
<a href="?pdu=0041000B915121551532F400045E0B05040B84C0020003F001010B060403AE81EA02056A0045C60C036D6F62696C65746964696E67732E636F6D2F000AC30620090226162510C3062009030416250103436865636B206F7574204D6F62696C6520546964696E677321000101">
0041000B915121551532F400045E0B05040B84C0020003F001010B060403AE81EA02056A0045C60C036D6F62696C65746964696E67732E636F6D2F000AC30620090226162510C3062009030416250103436865636B206F7574204D6F62696C6520546964696E677321000101
</a>
</td>
</tr>
<tr>
<td>
EMS with text formatting
</td>
<td>
<a href="http://mobiletidings.com/2009/03/12/text-formatting-sms-ems/">http://mobiletidings.com/2009/03/12/text-formatting-sms-ems/</a>
</td>
<td>
<a href="?pdu=0041000B915121551532F40000631A0A031906200A032104100A032705040A032E05080A043807002B8ACD29A85D9ECFC3E7F21C340EBB41E3B79B1E4EBB41697A989D1EB340E2379BCC02B1C3F27399059AB7C36C3628EC2683C66FF65B5E2683E8653C1D">
0041000B915121551532F40000631A0A031906200A032104100A032705040A032E05080A043807002B8ACD29A85D9ECFC3E7F21C340EBB41E3B79B1E4EBB41697A989D1EB340E2379BCC02B1C3F27399059AB7C36C3628EC2683C66FF65B5E2683E8653C1D
</a>
</td>
</tr>
<tr>
<td>
Voicemail Indication
</td>
<td>
<a href="http://mobiletidings.com/2009/07/08/voicemail-waiting-indication-sms/">http://mobiletidings.com/2009/07/08/voicemail-waiting-indication-sms/</a>
</td>
<td>
<a href="?pdu=0001AB0B915121551532F400C80F3190BB7C07D9DFE971B91D4EB301">
0001AB0B915121551532F400C80F3190BB7C07D9DFE971B91D4EB301
</a>
</td>
</tr>
<tr>
<td>
Standard SMS-DELIVER
</td>
<td>
<a href="http://www.developershome.com/sms/cmgrCommand3.asp">http://www.developershome.com/sms/cmgrCommand3.asp</a>
</td>
<td>
<a href="?pdu=07915892000000F0040B915892214365F700007040213252242331493A283D0795C3F33C88FE06C9CB6132885EC6D341EDF27C1E3E97E7207B3A0C0A5241E377BB1D7693E72E">
07915892000000F0040B915892214365F700007040213252242331493A283D0795C3F33C88FE06C9CB6132885EC6D341EDF27C1E3E97E7207B3A0C0A5241E377BB1D7693E72E
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>