Imported gammu 0.90.7
[gammu.git] / other / protocol / n6510.txt
blob23be596d7fa81bfc2dbbf53db97b4103069d5db8
1 \r
2 Last update 28.07.2002\r
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
4 \r
5 Assembled by\r
6         Markus Plail  <plail@web.de>\r
7         Marcin Wiacek <Marcin@MWiacek.com>\r
8                       <tibor.harsszegi@essnet.se>\r
9         ... and other members of gnokii mailing list\r
10             and authors of some WWW pages.\r
12 Heavily based on nk7110.txt.\r
13 The data provided is for information purposes only. \r
14 Some of the frames might be hazardous to your phone. Be careful!!! \r
15 We do not take any responsibility or liability for damages, etc.\r
17 NOTE: this information isn't (and can't be) complete.  If you know anything\r
18 about features not listed here or you noticed a bug in this list, please\r
19 notify us via e-mail.  Thank you.\r
21 Document describing frames used in\r
22 GSM Nokia 6510 and derivatives (?)\r
23 Correct format is FBUS version 2/Infrared/MBUS version 2\r
24 (see nokia.txt for protocol details):\r
26 0x00: Connect to NBS port ?\r
27     r Set ringtone          {+....,ringtone packed according to SM2.0}\r
29 0x01 COMMUNICATION\r
30      switch (message[3]) {\r
31         case  0x02:\r
32                 dprintf("Call established, remote phone is ringing.\n");\r
33                 dprintf("Call ID: %i\n", message[4]);\r
34                 break;\r
35         case 0x03:\r
36                 dprintf("Call complete.\n");\r
37                 dprintf("Call ID: %i\n", message[4]);\r
38                 dprintf("Call Mode: %i\n", message[5]);\r
39                 dummy = malloc(message[6] + 1);\r
40                 DecodeUnicode(dummy, message + 7, message[6]);\r
41                 dprintf("Number: %s\n", dummy);\r
42                 break;          \r
43         case 0x04:\r
44                 dprintf("Hangup!\n");\r
45                 dprintf("Call ID: %i\n", message[4]);\r
46                 dprintf("Cause Type: %i\n", message[5]);\r
47                 dprintf("Cause ID: %i\n", message[6]);\r
48                 break;\r
49         case 0x05:\r
50                 dprintf("Incoming call:\n");\r
51                 dprintf("Call ID: %i\n", message[4]);\r
52                 dprintf("Call Mode: %i\n", message[5]);\r
53                 dummy = malloc(message[6] + 1);\r
54                 DecodeUnicode(dummy, message + 7, message[6]);\r
55                 dprintf("From: %s\n", dummy);\r
56                 break;\r
57         case 0x07:\r
58                 dprintf("Call answer initiated.\n");\r
59                 dprintf("Call ID: %i\n", message[4]);\r
60                 break;\r
61         case 0x09:\r
62                 dprintf("Call released.\n");\r
63                 dprintf("Call ID: %i\n", message[4]);\r
64                 break;\r
65         case 0x0a:\r
66                 dprintf("Call is being released.\n");\r
67                 dprintf("Call ID: %i\n", message[4]);\r
68                 break;\r
69         case 0x0b:\r
70                 /* No idea what this is about! */\r
71                 break;\r
72         case 0x0c:\r
73                 if (message[4] == 0x01)\r
74                         dprintf("Audio enabled\n");\r
75                 else\r
76                         dprintf("Audio disabled\n");\r
77                 break;\r
78         case 0x53:\r
79                 dprintf("Outgoing call:\n");\r
80                 dprintf("Call ID: %i\n", message[4]);\r
81                 dprintf("Call Mode: %i\n", message[5]);\r
82                 dummy = malloc(message[6] + 1);\r
83                 DecodeUnicode(dummy, message + 7, message[6]);\r
84                 dprintf("To: %s\n", dummy);\r
85                 break;\r
88 0x02: SMS HANDLING\r
89     s Send SMS              { 0x02, 0x00, 0x00, 0x00, 0x55, 0x55,\r
90                               0x01 (1 big block), 0x02 (submit), length (big block),\r
91                               type, reference, PID, DCS, 0x00, # blocks,\r
92                               blocks... }\r
93     r Send SMS              { 0x03, 0x00, 0x01, 0x0c, 0x08, 0x00, 0x00, 0xdb, 0x55, 0x55, 0x00 }\r
95     s Get SMSC              { 0x14, 0x01, 0x00 }\r
96     r Get SMSC              { 0x15, format,  0x01, 0x0b, 0x28, # of SMSC, 0xf8, 0x00, validity, 0x55 \r
97                               #blocks,\r
98                               blocks ...}\r
100 0x03: PHONEBOOK HANDLING\r
102     s Get memory status     { 0x03, 0x01, memory type, 0x55, 0x55, 0x55, 0x00}\r
103                             where: memory type - see 0x03/0x07\r
104     r Get memory status     { 0x04, 0x00, location, 0x00[7], 0x01, 0x10, 0x00, 0x00, 0x0c,\r
105                                     total_low, total_high, used_low, used_high, 0x01, 0x00, 0x00}\r
107     s Read memory           { 0x07, 0x01, 0x01, 0x00, 0x01, 0x02, memory type,\r
108                                     0x00, 0x00, 0x00, 0x00, location_low, location_high, 0x00, 0x00};\r
110                             where MT: memory type\r
111                                      0x01: (256) Dialled numbers\r
112                                      0x02: (512) Missed calls\r
113                                      0x03: (768) Received calls\r
114                                      0x05: (500) telephone phonebook\r
115                                      0x06: (160) SIM phonebook\r
116                                      0x07: (10/0)\r
117                                      0x08: (1/0)\r
118                                      0x09: (4) voice mailbox\r
119                                      0x0e: (10) speed dials\r
120                                      0x10: (5) caller groups\r
122     r Read memory           { 0x08, 0x00, 0x01,\r
123                                     code, 0x00, 0x00, z, xH, xL, yH, yL, 0x00[7], no.of blocks, { block } * }\r
125                             where if code==0x0f && xH==0x34 - phonebook location not found\r
126                               y: location\r
127                               z: generic block size\r
128                               block: {id, 0, 0, blocksize, block no.,\r
129                                       {contents}, 0x00}\r
130                                 id: 0x04 pointer to another memory location { 0xff?, yH, yL, xL,0x00[3] }\r
131                                     0x07 name {len, (unicode)},\r
132                                     0x08 email\r
133                                     0x09 postal\r
134                                     0x0a note {len, (unicode)}\r
135                                     0x0b number {type, 0x00[3], len, (unicode)}\r
136                                     0x0c ringtone {ringtone no., 0, 0}\r
137                                     0x13 date for a called list (DC, RC, etc.)\r
138                                     0x1b caller group graphic {width, height, 0, 0 {bitmap}}\r
139                                     0x1c caller group graphic on? {(1: yes, 0: no), 0, 0}\r
140                                     0x1e caller group number {number, 0, 0}\r
141                                    type: 0x0a: General,\r
142                                          0x03: Mobile (office ?),\r
143                                          0x06: Work,\r
144                                          0x04: Fax,\r
145                                          0x02: Home (mobile ?)\r
147     s Set mem location      { 0x0b, 0x00, 0x01, 0x01, 0x00, 0x00, z,\r
148                                       0x02, memory type, yH, yL, 0x00[7],\r
149                                       no.of blocks, { block }[no.of blocks] }\r
150     r Set mem location      { 0x0c, 0?, 1?, code, 0?, 0?, z?, 0?, 0?,\r
151                                       yH, yL, xL }\r
152                             where code:\r
153                                     0x3d - wrong entry type\r
155 0x08: SECURITY\r
157     s Get status            { 0x11, 0x00 }\r
158     r Get status            { 0x12, status, }\r
159                             where status:\r
160                             0x01: waiting for Security Code\r
161                             0x07:\r
162                             0x02: waiting for PIN\r
163                             0x03: waiting for PUK\r
164                             0x05: PIN ok, SIM ok\r
165                             0x06: No input status\r
166                             0x16: No SIM\r
167                             0x1A: SIM rejected!\r
169     s Enter PIN             { 0x07, 0x02, code, 0x00}\r
170     r Enter PIN             { return code, reason }\r
171                             where:\r
172                             return code: 0x08 = success\r
173                                          0x09 = failure\r
174                             reason: 0x06 = PIN wrong\r
176 0x0a: NETSTATUS\r
178     s Get Info              { 0x00, 0x00 }\r
179     r Get Info              { 0x01, 0x00, # blocks, \r
180                               0x00, length, 0x00, 0x02, status, length, operator name (unicode),\r
181                               0x09, length, LAC, LAC, 0x00, 0x00, CellID, CellID, NetworkCode (3 octets), ... }\r
183     s Get RF Level          { 0x0b, 0x00, 0x02, 0x00, 0x00, 0x00 }\r
184     r GET RF Level          { 0x0c, 0x00, 0x01, 0x04, 0x04, level, 0x5f }\r
186     s Get operator logo     { 0x23, 0x00, 0x00, 0x55, 0x55, 0x55 }\r
187     r Get operator logo     { 0x24, 0x00, 0x01, 0x00, 0x00, 0x00, \r
188                               0x02, 0x0c, 0x08, netcode (3 octets), 0x02, 0x00, 0x00, \r
189                               0x1a, size, width, height, logo size (2 octets), logo size (2 octets), logo }\r
191 0x10: SUBSCRIBE\r
193     s Subscribe Channel     { 0x10, # channels, message types... }\r
195 0x13 CALENDAR\r
197     s Add meeting note      { 0x01, body like in subtype 0x1a...}\r
198     r Add meeting note      { 0x02, location (2 bytes), status (2 bytes)}\r
200     s Add call note         { 0x03, body like in subtype 0x1a...}\r
201     r Add call note         { 0x04, location (2 bytes), status (2 bytes)}\r
203     s Add birthday note     { 0x05, body like in subtype 0x1a...}\r
204     r Add birthday note     { 0x06, location (2 bytes), status (2 bytes)}\r
206     s Add reminder note     { 0x07, body like in subtype 0x1a...}\r
207     r Add reminder note     { 0x08, location (2 bytes), status (2 bytes)}\r
209     s Delete calendar note  { 0x0b, location (2 bytes) }\r
210     r Delete calendar note  { 0x0c, location (2 bytes), ?, ?, ?, ? }\r
212     s Get calendar note     { 0x19, location (2 bytes) }\r
213     r Calendar note recvd   { 0x1a, location (2 bytes), entry type, 0x00, year (2 bytes), Month, Day, block}\r
214                             where: entry type - 0x01 - Meeting, 0x02 - Call, 0x04 - Birthday, 0x08 - Reminder\r
215                                    block: for Meeting:{hour,minute,alarm (two bytes),recurrence (two bytes),len,0x00,string(unicode)}\r
216                                           where alarm=Number of minutes before the time of the meeting\r
217                                                   that the alarm should be triggered:\r
218                                                   For meetings with "No alarm"=0xFFFF (-1).\r
219                                                   For "On time"=0x0000\r
220                                                   half an hour=0x001E, and so on.\r
221                                                 Recurrance=in hours, between future occurances of this meeting.\r
222                                                   If there is no repeat, this value is 0x0000. The special value 0xffff \r
223                                                   means 1 Year!\r
224                                           for Call:{Hour,Minute,Alarm (as above),Recurrance (as above),namelen,numberlen,\r
225                                                     name(unicode),number(unicode)}\r
226                                           for Reminder:{Recurrance (as above),len,0x00,string(unicode)}\r
227                                           for Birthday:{byte1,byte2,alarm(4 bytes),yearofbirth,alarmtype,len,string(unicode)}\r
228                                                     byte1 and byte2 may vary (???). Usually are 0x00 both (but not always)\r
229                                                     In Birthday, the Year in the common part, usually contains a strange year.\r
230                                                     So, don't consider it as Year of note, neither year of BirthDay (for Year of\r
231                                                     Birthday use the value described below).\r
232                                           where alarm=32-bit integer that is the number of seconds between the desired\r
233                                                   alarm time and 11:59:58pm on the birthday.For "No Alarm", the value is\r
234                                                   0x0000FFFF (65535).\r
235                                                 YearOfBirth=used instead of the one in the common part of the entry (see above)\r
236                                                   but only when reading birthday entries. For storing entries, this field does\r
237                                                   not exist.\r
238                                                 AlarmType: 0x00 - Tone, 0x01 - Silent\r
240 ?   s???                    { 0x0021 }\r
241 ?   r???                    { 0x0022, 0x5A, 0x00 }\r
242 ?   s???                    { 0x0025 }\r
243 ?   r???                    { 0x0026, 0x04, 0x00 }\r
244 ?   s                       { 0x0029 }\r
245 ?   r                       { 0x002A, 0x04, 0x00 }\r
247     s Get first free pos    { 0x0031 }\r
248     r Get first free pos    { 0x0032, location (2bytes) }\r
250     s Get notes info        { 0x003a, 0xFF, 0xFE}\r
251     r Get notes info        { 0x003b, how many notes used (2 bytes), 0x01, 0x07, { two bytes with location for each note} *}\r
253     s Get first free pos    { 0x0031 }\r
254     r Get first free pos    { 0x0032, location (2bytes) }\r
255     s Get notes info        { 0x003a, 0xFF, 0xFE}\r
256     r Get notes info        { 0x003b, how many notes used (2 bytes), 0x01, 0x07, { two bytes with location for each note} *}\r
258 ?   s Get calendar note??   { 0x003E, location (2 bytes) }\r
259 ?   r Get calendar note??   { 0x003F, location (2bytes), ... }\r
261 0x14: FOLDER/PICTURE SMS HANDLING\r
263     s Get SMS Status        { 0x08, 0x00, 0x01 }\r
264     r Get SMS Status        { 0x09, 0x00, #blocks, \r
265                               type, length, blocknumber,\r
266                               a (2 octets), b (2 octets), c (2 octets), 0x00, 0x55 ,\r
267                               type, length, blocknumber, \r
268                               d (2 octets), e (2 octets), f (2 octets), 0x01, 0x55 }\r
270                               where:\r
271                               a - max. number of messages in phone memory\r
272                               b - Number of used messages in phone memory. These\r
273                                 are messages manually moved from the other folders.\r
274                                 Picture messages are saved here.\r
275                               c - Number of unread messages in phone memory. Probably\r
276                                 only smart messsages.\r
277                               d - max. number of messages on SIM\r
278                               e - Number of used messages in SIM memory. These are\r
279                                 either received messages or saved into Outbox/Inbox.\r
280                                 Note that you *can't* save message into this memory\r
281                                 using 'Move' option. Picture messages are not here.\r
282                               f - Number of unread messages in SIM memory\r
286     s Get SMS from folder   { 0x02, memory, folderID, location, location, 0x01, 0x00}\r
287                             where: \r
288                             memory - 0x01 for SIM, 0x02 for phone (SIM only for IN/OUTBOX\r
289                             folderID - see 0x14/0x017B\r
290     r Get SMS from folder   { 0x03, 0x00, 0x01, memory, folderID, locationH, locationL, 0x55, 0x55, 0x55,  \r
291                               0x01 (on big block), type, length of big block, \r
292                               [date/time1], [date/time2], # blocks,\r
293                               type, length, data...\r
294                               ... }\r
296     s Delete SMS            { 0x04, memory, folderID, location, location, 0x0F, 0x55 }\r
297     r Delete SMS            { 0x05 }\r
299     s Get folder status     { 0x0c, memory, folderID, 0x0F, 0x55, 0x55, 0x55, 0x55}\r
300                             where: folderID - see 0x14/0x017B\r
301     r Get folder status     { 0x0d, 0x00, length, number of entries (2 bytes), \r
302                             entry1number (2 bytes), entry2number(2 bytes), ..., 0x55[]}\r
304     s Get message info      { 0x0e, memory, folderID, location, location, 0x55, 0x55 }\r
305     r Get message info      { 0x0f, 0x00, 0x01, 0x00, 0x50, memory, type, 0x00, location, FolderID, status\r
307                             where: type = 0x00 - MT\r
308                                           0x01 - delivery report\r
309                                           0x02 - MO\r
310                                           0x80 - picture message\r
311                             where: status=0x01 - reveived/read\r
312                                           0x03 - received/unread\r
313                                           0x05 - stored/sent\r
314                                           0x07 - stored/not sent\r
316     s Get folder names      { 0x12, 0x00, 0x00}\r
317     r Get folder names      { 0x13, 0x00, number of strings, 0x01, 0x28, folderID, length, 0x00, name1, 0x00, \r
318                             0x55[40-length(name1)], 01 28, folderID, length, 0x00, name2, 0x00, 0x55[dito] ... }\r
319                                where: folderID = 0x02 - Inbox\r
320                                                  0x03 - Outbox\r
321                                                  0x04 - Archive\r
322                                             0x05 - Templates\r
323                                             0x06 - first "My folders"\r
324                                             0x07 - second "My folders"\r
325                                             0x08 - third -"-\r
326                                             and so on\r
328 0x15:\r
329     s ???                   {+0x00, 0x06, 0x00, 0x01, 0x01, 0x00 }\r
330     r ???                   {+0x06, ',',  0x00, 'd',  0x00, 0x00 }\r
331     s ???                   {+0x00, 0x06, 0x00, 0x02, 0x00, 0x00 }\r
332     r ???                   {+0x06, '.',  0x00, 'e',  ?, ? }\r
334 0x17: BATTERY\r
335     \r
336     s Get battery level     { 0x0a, 0x02, 0x00 }\r
337     r Get battery level     { 0x0b, 0x01, 0x01, 0x16, level, 0x07, 0x05 }\r
338                             where: level: 1-7 (as in phone display)\r
340 0x19: CLOCK\r
342     s Get ????              {0x01,...}\r
343     r Get ????              {0x02,...}\r
345     s Get date              { 0x0a, 0x00, 0x00 }\r
346     r Get date              { 0x0b, 0x00, 0x02 (blocks), \r
347                               0x01 (type), 0x0c (length), 0x01, 0x03, year (2 octets), month, day, hour, minute, second, 0x00, \r
348                               0x04, 0x04, 0x01, 0x00 }\r
350     s Get ????              {0x0c, 0x00, 0x00}\r
351     r Get ????              {0x0d..}\r
352     s Get ????              {0x11,...}\r
353     r Get ????              {0x12,...}\r
355 0x1b: IDENTIFY\r
357     s Get IMEI              {+0x00, 0x01, 0x01, 0x00, 'A', 0x00, 0x00, 0x00 }\r
358     r Get IMEI              {                   0x01, 0x00, 0x01, 'A', 0x14, 0x00, 0x10, {IMEI(ASCII)}, 0x00 }\r
359     s Get IMEI              {+0x00, 0x03, 0x01, 0x00, 'A', 0x00, 0x00, 0x00 }\r
360     r Get IMEI              {                   0x01, 0x00, 0x01, 'A', 0x14, 0x00, 0x10, {IMEI(ASCII)}, 0x00 }\r
361     s Get ???               {+0x00, 0x03, 0x00, 0x00, 'D',  0x00, 0x00, 0x00 }\r
362     r Get ???               {                   0x01, 0x02, 0x00 }\r
364     s Get HW version        {+0x00, 0x03, 0x02, 0x07, 0x00, 0x02 }\r
365     r Get HW version        {                   0x08, 0x00, 0x01, 'I', 0x0c, 0x00, 0x05, HW(4 bytes), 0x00, 0x00, 0x00, 0x00 }\r
367     s get HW&SW version     { 0x07, 0x00, 0x01 }\r
368     r get HW&SW version     { 0x08, 0x00, 0x01, 0x58, 0x29, 0x00, 0x22, "V " "firmware\n" "firmware date\n"\r
369                               "model\n" "(c) NMP.", 0x0a, 0x43, 0x00, 0x00, 0x00 }\r
371     s Get product code      {+0x00, 0x03, 0x04, 0x0b, 0x00, 0x02 }\r
372     r Get product code      {                   0x0c, 0x00, 0x01, 'N', 0x0c, 0x00, 0x08, code(7 bytes), 0x00 }\r
373     s ???                   {+00 |03 |05 |0b |00 |20}\r
374     r ???                   {+03 |2b+|05 |0c |00 |01 |52R|0c |00 |08 |00 |00 |00 |00 |00 |00 | 00 |00} \r
375     s Get ???               {+00 |03 |06 |0b |00 |01}\r
376     r Get ???               {+03 |2b+|06 |0c |00 |01 |4dM|10 |00 |0a |53S|54T|41A|344|355|399|311|355|377|00 |00 |00}\r
378 Sending frame 0x1b / 0x0006\r
379 00 |03 |07 |0b |00 |ffÿ                                        .....ÿ          \r
380 Received frame 0x1b / 0x0072\r
381 03 |2b+|07 |0c |00 |08 |4dM|10 |00 |0a |53S|54T|41A|344|355|39 .+....M...STA459\r
382 311|355|377|00 |00 |00 |4eN|0c |00 |08 |300|355|300|377|355|32 157...N...050752\r
383 300|00 |50P|0c |00 |08 |00 |00 |00 |00 |00 |00 |00 |00 |4fO|0c 0.P...........O.\r
384 00 |08 |300|355|300|333|366|366|366|00 |51Q|0c |00 |06 |00 |00 ..0503666.Q.....\r
385 00 |00 |00 |00 |00 |00 |52R|0c |00 |08 |00 |00 |00 |00 |00 |00 ......R.........\r
386 00 |00 |53S|0c |00 |5b[|00 |00 |00 |0d |00 |00 |00 |00 |59Y|14 ..S..[........Y.\r
387 00 |10 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 ................\r
388 00 |00                                                         ..              \r
389 Sending frame 0x1b / 0x0006\r
390 00 |03 |08 |07 |01 |ffÿ                                        .....ÿ          \r
391 Received frame 0x1b / 0x00ae\r
392 03 |2b+|08 |08 |00 |09 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
393 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
394 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00 |49I|0c .(c) NMP......I.\r
395 00 |05 |300|388|300|322|00 |00 |00 |00 |4aJ|0c |00 |05 |00 |00 ..0802....J.....\r
396 00 |00 |00 |00 |00 |00 |4bK|08 |00 |03 |333|366|00 |00 |4cL|0c ......K...36..L.\r
397 00 |04 |322|388|388|00 |00 |00 |00 |00 |54T|0c |00 |05 |300|31 ..288.....T...01\r
398 300|355|00 |00 |00 |00 |55U|10 |00 |0a |47G|344|2e.|300|2d-|34 05....U...G4.0-4\r
399 2e.|311|322|00 |00 |00 |57W|10 |00 |08 |53S|45E|49I|4bK|4fO|20 .12...W...SEIKO \r
400 300|00 |00 |00 |00 |00 |58X|29)|00 |22"|56V|20 |300|344|2e.|30 0.....X)."V 04.0\r
401 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
402 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|0a |44D|00 |00 |00         .(c) NMP..D...  \r
403 Sending frame 0x1b / 0x0008\r
404 00 |03 |09 |00 |41A|00 |00 |00                                 ....A...        \r
405 Received frame 0x1b / 0x001a\r
406 03 |2b+|09 |01 |00 |01 |41A|14 |00 |10 |333|355|300|377|300|30 .+....A...350700\r
407 311|300|355|388|300|311|333|300|333|00                         105801303.      \r
408 Sending frame 0x1b / 0x0008\r
409 00 |03 |0a |00 |42B|00 |00 |00                                 ....B...        \r
410 Received frame 0x1b / 0x0012\r
411 03 |2b+|0a |01 |00 |01 |42B|0c |00 |08 |3a:|05 |07 |10 |50P|08 .+....B...:...P.\r
412 311|00                                                         1.              \r
413 Sending frame 0x1b / 0x0008\r
414 00 |03 |0b |00 |43C|00 |00 |00                                 ....C...        \r
415 Received frame 0x1b / 0x0016\r
416 03 |2b+|0b |01 |00 |01 |43C|10 |00 |09 |333|05 |07 |10 |50P|08 .+....C...3...P.\r
417 311|00 |f6ö|00 |00 |00                                         1.ö...          \r
418 Sending frame 0x1b / 0x0008\r
419 00 |03 |0c |00 |44D|00 |00 |00                                 ....D...        \r
420 Received frame 0x1b / 0x0006\r
421 03 |2b+|0c |01 |02 |00                                         .+....          \r
422 Sending frame 0x1b / 0x0008\r
423 00 |03 |0d |00 |45E|00 |00 |00                                 ....E...        \r
424 Received frame 0x1b / 0x0006\r
425 03 |2b+|0d |01 |02 |00                                         .+....          \r
426 Sending frame 0x1b / 0x0008\r
427 00 |03 |0e |00 |46F|00 |00 |00                                 ....F...        \r
428 Received frame 0x1b / 0x0012\r
429 03 |2b+|0e |01 |00 |01 |46F|0c |00 |08 |4eN|54T|54T|4aJ|50P|12 .+....F...NTTJP.\r
430 344|56V                                                        4V              \r
431 Sending frame 0x1b / 0x0008\r
432 00 |03 |0f |00 |56V|00 |00 |00                                 ....V...        \r
433 Received frame 0x1b / 0x0006\r
434 03 |2b+|0f |01 |02 |00                                         .+....          \r
435 Sending frame 0x1b / 0x0008\r
436 00 |03 |10 |00 |5aZ|00 |00 |00                                 ....Z...        \r
437 Received frame 0x1b / 0x0006\r
438 03 |2b+|10 |01 |02 |00                                         .+....          \r
439 Sending frame 0x1b / 0x0006\r
440 00 |03 |11 |0b |00 |02                                         ......          \r
441 Received frame 0x1b / 0x0012\r
442 03 |2b+|11 |0c |00 |01 |4eN|0c |00 |08 |300|355|300|377|355|32 .+....N...050752\r
443 300|00                                                         0.              \r
444 Sending frame 0x1b / 0x0006\r
445 00 |03 |12 |0b |00 |20                                         .....           \r
446 Received frame 0x1b / 0x0012\r
447 03 |2b+|12 |0c |00 |01 |52R|0c |00 |08 |00 |00 |00 |00 |00 |00 .+....R.........\r
448 00 |00                                                         ..              \r
449 Sending frame 0x1b / 0x0006\r
450 00 |03 |13 |0b |00 |01                                         ......          \r
451 Received frame 0x1b / 0x0016\r
452 03 |2b+|13 |0c |00 |01 |4dM|10 |00 |0a |53S|54T|41A|344|355|39 .+....M...STA459\r
453 311|355|377|00 |00 |00                                         157...          \r
454 Sending frame 0x1b / 0x0006\r
455 00 |03 |14 |07 |00 |02                                         ......          \r
456 Received frame 0x1b / 0x0012\r
457 03 |2b+|14 |08 |00 |01 |49I|0c |00 |05 |300|388|300|322|00 |00 .+....I...0802..\r
458 00 |00                                                         ..              \r
460     s Get IMEI              { 0x00, 0x41 }\r
461     r Get IMEI              { 0x01, 0x00, 0x01, 0x41, 0x14, 0x00, 0x10, {IMEI(ASCII)}, 0x00 }\r
463 Sending frame 0x1b / 0x0008\r
464 00 |03 |16 |00 |44D|00 |00 |00                                 ....D...        \r
465 Received frame 0x1b / 0x0006\r
466 03 |2b+|16 |01 |02 |00                                         .+....          \r
467 Sending frame 0x1b / 0x0006\r
468 00 |03 |17 |07 |00 |01                                         ......          \r
469 Received frame 0x1b / 0x002e\r
470 03 |2b+|17 |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
471 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
472 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
473 Sending frame 0x1b / 0x0006\r
474 00 |03 |18 |07 |00 |01                                         ......          \r
475 Received frame 0x1b / 0x002e\r
476 03 |2b+|18 |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
477 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
478 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
479 Sending frame 0x1b / 0x0006\r
480 00 |03 |19 |07 |00 |01                                         ......          \r
481 Received frame 0x1b / 0x002e\r
482 03 |2b+|19 |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
483 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
484 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
485 Sending frame 0x1b / 0x0006\r
486 00 |03 |1a |07 |00 |01                                         ......          \r
487 Received frame 0x1b / 0x002e\r
488 03 |2b+|1a |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
489 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
490 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
491 Sending frame 0x1b / 0x0006\r
492 00 |03 |1b |07 |00 |01                                         ......          \r
493 Received frame 0x1b / 0x002e\r
494 03 |2b+|1b |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
495 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
496 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
497 Sending frame 0x1b / 0x0006\r
498 00 |03 |1c |07 |00 |01                                         ......          \r
499 Received frame 0x1b / 0x002e\r
500 03 |2b+|1c |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
501 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
502 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
503 Sending frame 0x1b / 0x0006\r
504 00 |03 |1d |07 |00 |01                                         ......          \r
505 Received frame 0x1b / 0x002e\r
506 03 |2b+|1d |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
507 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
508 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
509 Sending frame 0x1b / 0x0006\r
510 00 |03 |1e |07 |00 |01                                         ......          \r
511 Received frame 0x1b / 0x002e\r
512 03 |2b+|1e |08 |00 |01 |48H|28(|00 |20 |56V|20 |300|344|2e.|30 .+....H(. V 04.0\r
513 344|0a |322|399|2d-|311|300|2d-|300|311|0a |4eN|48H|4dM|2d-|37 4.29-10-01.NHM-7\r
514 0a |28(|63c|29)|20 |4eN|4dM|50P|2e.|00 |00 |00 |00 |00         .(c) NMP......  \r
516 0x1f: RINGTONE\r
518     s Get Ringtones         { 0x07, 0x00, 0x00, 0xFE, 0x00, 0x7D }\r
519     r Get Ringtones         { 0x08, 0x00, 0x23, 0x00, # ringtones, 0x00, \r
520                               ringtone number, 0x01, 0x01, 0x00, name length (chars), name (unicode)... }\r
523 0x2b:\r
524     s Get IMEI              { 0x00, 0x41 }\r
525     r Get IMEI              { 0x01, 0x00, 0x01, 0x41, 0x14, 0x00, 0x10, {IMEI(ASCII)}, 0x00 }\r
526     s get HW&SW version     { 0x07, 0x00, 0x01 }\r
527     r get HW&SW version     { 0x08, 0x00, 0x01, 0x58, 0x29, 0x00, 0x22, "V " "firmware\n" "firmware date\n"\r
528                               "model\n" "(c) NMP.", 0x0a, 0x43, 0x00, 0x00, 0x00 }\r
530 0x38:\r
531     s ???                   {+00 |02 |00 |0a |00 |01 |00, location, 00}\r
532                             where location: 0, 1, 2, 3\r
533     r ???                   {+02 |1d |00 |0b |00 |01 |00, location, 08 |00 |00 |00 |00 |00}\r
534     s ???\r
535       00 |02 |00 |0a |00 |60`|00 |10 |00 |11 |00 |12 |00 |13 |00 |14 .....`..........\r
536       00 |15 |00 |16 |00 |17 |00 |18 |00 |19 |00 |1a |00 |1b |00 |1c ................\r
537       00 |1d |00 |1e |00 |1f |00 |20 |00 |21!|00 |22"|00 |23#|00 |24 ....... .!.".#.$\r
538       00 |25%|00 |26&|00 |27'|00 |28(|00 |29)|00 |2a*|00 |2b+|00 |2c .%.&.'.(.).*.+.,\r
539       00 |2d-|00 |2e.|00 |2f/|00 |300|00 |311|00 |322|00 |333|00 |34 .-.../.0.1.2.3.4\r
540       00 |355|00 |366|00 |377|00 |388|00 |399|00 |3a:|00 |3b;|00 |3c .5.6.7.8.9.:.;.<\r
541       00 |3d=|00 |3e>|00 |3f?|00 |40@|00 |41A|00 |42B|00 |43C|00 |44 .=.>.?.@.A.B.C.D\r
542       00 |45E|00 |46F|00 |47G|00 |48H|00 |49I|00 |4aJ|00 |4bK|00 |4c .E.F.G.H.I.J.K.L\r
543       00 |4dM|00 |4eN|00 |4fO|00 |50P|00 |51Q|00 |52R|00 |53S|00 |54 .M.N.O.P.Q.R.S.T\r
544       00 |55U|00 |56V|00 |57W|00 |58X|00 |59Y|00 |5aZ|00 |5b[|00 |5c .U.V.W.X.Y.Z.[.\\r
545       00 |5d]|00 |5e^|00 |5f_|00 |60`|00 |61a|00 |62b|00 |63c|00 |64 .].^._.`.a.b.c.d\r
546       00 |65e|00 |66f|00 |67g|00 |68h|00 |69i|00 |6aj|00 |6bk|00 |6c .e.f.g.h.i.j.k.l\r
547       00 |6dm|00 |6en|00 |6fo|00                                     .m.n.o.         \r
548     r ???\r
549       02 |1d |00 |0b |00 |60`|00 |10 |04 |00 |00 |11 |0c |06 |00 |00 .....`..........\r
550       00 |00 |00 |00 |00 |00 |00 |12 |04 |00 |00 |13 |04 |00 |00 |14 ................\r
551       08 |00 |00 |00 |00 |00 |00 |15 |08 |00 |00 |00 |00 |00 |00 |16 ................\r
552       08 |00 |00 |00 |00 |00 |00 |17 |08 |00 |00 |00 |00 |00 |00 |18 ................\r
553       08 |00 |00 |00 |00 |00 |00 |19 |08 |00 |00 |00 |00 |00 |00 |1a ................\r
554       08 |00 |00 |00 |00 |00 |00 |1b |08 |00 |00 |00 |00 |00 |00 |1c ................\r
555       04 |00 |00 |1d |08 |04 |00 |00 |00 |00 |00 |1e |3c<|355|ffÿ|ff ............<5ÿÿ\r
556       ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ff ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\r
557       ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ff ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\r
558       ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ffÿ|ff ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\r
559       ffÿ|ffÿ|ffÿ|00 |00 |00 |00 |1f |08 |00 |00 |00 |00 |00 |00 |20 ÿÿÿ............ \r
560       04 |00 |00 |21!|04 |00 |00 |22"|04 |00 |00 |23#|04 |00 |00 |24 ...!..."...#...$\r
561       04 |00 |00 |25%|04 |00 |00 |26&|04 |00 |00 |27'|08 |00 |00 |00 ...%...&...'....\r
562       00 |00 |00 |28(|08 |00 |00 |00 |00 |00 |00 |29)|08 |00 |00 |00 ...(.......)....\r
563       00 |00 |00 |2a*|04 |00 |00 |2b+|0c |08 |00 |00 |00 |00 |00 |00 ...*...+........\r
564       00 |00 |00 |2c,|04 |00 |00 |2d-|08 |00 |00 |00 |00 |00 |00 |2e ...,...-........\r
565       08 |00 |00 |00 |00 |00 |00 |2f/|08 |00 |00 |00 |00 |00 |00 |30 ......./.......0\r
566       08 |00 |00 |00 |00 |00 |00 |311|08 |00 |00 |00 |00 |00 |00 |32 .......1.......2\r
567       08 |00 |00 |00 |00 |00 |00 |333|08 |00 |00 |00 |00 |00 |00 |34 .......3.......4\r
568       08 |00 |00 |00 |00 |00 |00 |355|08 |00 |00 |00 |00 |00 |00 |36 .......5.......6\r
569       08 |00 |00 |00 |00 |00 |00 |377|08 |00 |00 |00 |00 |00 |00 |38 .......7.......8\r
570       08 |04 |00 |00 |00 |00 |00 |399|08 |04 |00 |00 |00 |00 |00 |3a .......9.......:\r
571       08 |04 |00 |00 |00 |00 |00 |3b;|14 |10 |00 |00 |00 |00 |00 |00 .......;........\r
572       00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |00 |3c<|08 |00 |00 |00 ...........<....\r
573       00 |00 |00 |3d=|08 |00 |00 |00 |00 |00 |00 |3e>|08 |00 |00 |00 ...=.......>....\r
574       00 |00 |00 |3f?|08 |00 |00 |00 |00 |00 |00 |40@|08 |00 |00 |8e ...?.......@...Ž\r
575       00 |00 |00 |41A|04 |00 |00 |42B|04 |00 |00 |43C|08 |00 |00 |00 ...A...B...C....\r
576       00 |00 |00 |44D|08 |00 |00 |00 |00 |00 |00 |45E|08 |00 |00 |00 ...D.......E....\r
577       00 |00 |00 |46F|08 |00 |00 |00 |00 |00 |00 |47G|08 |00 |00 |00 ...F.......G....\r
578       00 |00 |00 |48H|08 |00 |00 |00 |00 |00 |00 |49I|08 |00 |00 |00 ...H.......I....\r
579       00 |00 |00 |4aJ|08 |00 |00 |00 |00 |00 |00 |4bK|08 |00 |00 |00 ...J.......K....\r
580       00 |00 |00 |4cL|08 |00 |00 |00 |00 |00 |00 |4dM|08 |00 |00 |00 ...L.......M....\r
581       00 |00 |00 |4eN|08 |00 |00 |00 |00 |00 |00 |4fO|08 |00 |00 |00 ...N.......O....\r
582       00 |00 |00 |50P|08 |00 |00 |00 |00 |00 |00 |51Q|08 |00 |00 |00 ...P.......Q....\r
583       00 |00 |00 |52R|08 |00 |00 |00 |00 |00 |00 |53S|08 |00 |00 |00 ...R.......S....\r
584       00 |00 |00 |54T|08 |00 |00 |00 |00 |00 |00 |55U|08 |00 |00 |00 ...T.......U....\r
585       00 |00 |00 |56V|08 |00 |00 |00 |00 |00 |00 |57W|08 |00 |00 |00 ...V.......W....\r
586       00 |00 |00 |58X|08 |00 |00 |00 |00 |00 |00 |59Y|08 |00 |00 |00 ...X.......Y....\r
587 00 |00 |00 |5aZ|08 |00 |00 |00 |00 |00 |00 |5b[|08 |00 |00 |00 ...Z.......[....\r
588 00 |00 |00 |5c\|08 |00 |00 |00 |00 |00 |00 |5d]|08 |00 |00 |00 ...\.......]....\r
589 00 |00 |00 |5e^|08 |00 |00 |00 |00 |00 |00 |5f_|08 |00 |00 |00 ...^......._....\r
590 00 |00 |00 |60`|08 |00 |00 |00 |00 |00 |00 |61a|08 |00 |00 |00 ...`.......a....\r
591 00 |00 |00 |62b|08 |00 |00 |00 |00 |00 |00 |63c|08 |00 |00 |00 ...b.......c....\r
592 00 |00 |00 |64d|08 |00 |00 |00 |00 |00 |00 |65e|08 |00 |00 |00 ...d.......e....\r
593 00 |00 |00 |66f|08 |00 |00 |00 |00 |00 |00 |67g|08 |00 |00 |00 ...f.......g....\r
594 00 |00 |00 |68h|08 |00 |00 |00 |00 |00 |00 |69i|08 |00 |00 |00 ...h.......i....\r
595 00 |00 |00 |6aj|08 |00 |00 |00 |00 |00 |00 |6bk|08 |04 |00 |00 ...j.......k....\r
596 00 |00 |00 |6cl|08 |04 |00 |00 |00 |00 |00 |6dm|08 |00 |00 |00 ...l.......m....\r
597 00 |00 |00 |6en|08 |00 |00 |00 |00 |00 |00 |6fo|08 |00 |00 |00 ...n.......o....\r
598 00 |00                                                         ..              \r
599 Sending frame 0x38 / 0x00c7\r
600 00 |02 |00 |0a |00 |60`|00 |70p|00 |71q|00 |72r|00 |73s|00 |74 .....`.p.q.r.s.t\r
601 00 |75u|00 |76v|00 |77w|00 |78x|00 |79y|00 |7az|00 |7b{|00 |7c .u.v.w.x.y.z.{.|\r
602 00 |7d}|00 |7e~|00 |7f |00 |80€|00 |81�|00 |82‚|00 |83ƒ|00 |84 .}.~...€.�.‚.ƒ.„\r
603 00 |85…|00 |86†|00 |87‡|00 |88ˆ|00 |89‰|00 |8aŠ|00 |8b‹|00 |8c .….†.‡.ˆ.‰.Š.‹.Œ\r
604 00 |8d�|00 |8eŽ|00 |8f�|00 |90�|00 |91‘|00 |92’|00 |93“|00 |94 .�.Ž.�.�.‘.’.“.”\r
605 00 |95•|00 |96–|00 |97—|00 |98˜|00 |99™|00 |9aš|00 |9b›|00 |9c .•.–.—.˜.™.š.›.œ\r
606 00 |9d�|00 |9ež|00 |9fŸ|00 |a0 |00 |a1¡|00 |a2¢|00 |a3£|00 |a4 .�.ž.Ÿ. .¡.¢.£.¤\r
607 00 |a5¥|00 |a6¦|00 |a7§|00 |a8¨|00 |a9©|00 |aaª|00 |ab«|00 |ac .¥.¦.§.¨.©.ª.«.¬\r
608 00 |ad­|00 |ae®|00 |af¯|00 |b0 |00 |b1 |00 |b2 |00 |b3 |00 |b4 .­.®.¯..........\r
609 00 |b5µ|00 |b6¶|00 |b7·|00 |b8¸|00 |b9 |00 |ba |00 |bb |00 |bc .µ.¶.·.¸........\r
610 00 |bd½|00 |be¾|00 |bf |00 |c0 |00 |c1 |00 |c2 |00 |c3 |00 |c4 .½.¾............\r
611 00 |c5 |00 |c6Æ|00 |c7Ç|00 |c8 |00 |c9 |00 |ca |00 |cb |00 |cc ...Æ.Ç..........\r
612 00 |cd |00 |ce |00 |cfÏ|00                                     .....Ï.         \r
613 Received frame 0x38 / 0x0306\r
614 02 |1d |00 |0b |00 |60`|00 |70p|08 |00 |00 |00 |00 |00 |00 |71 .....`.p.......q\r
615 08 |00 |00 |00 |00 |00 |00 |72r|08 |00 |00 |00 |00 |00 |00 |73 .......r.......s\r
616 08 |00 |00 |00 |00 |00 |00 |74t|08 |00 |00 |00 |00 |00 |00 |75 .......t.......u\r
617 08 |00 |00 |00 |00 |00 |00 |76v|08 |00 |00 |00 |00 |00 |00 |77 .......v.......w\r
618 08 |00 |00 |00 |00 |00 |00 |78x|08 |00 |00 |00 |00 |00 |00 |79 .......x.......y\r
619 08 |00 |00 |00 |00 |00 |00 |7az|08 |00 |00 |00 |00 |00 |00 |04 .......z........\r
620 08 |04 |00 |7b{|00 |00 |00 |04 |08 |04 |00 |7c||00 |00 |00 |04 ...{.......|....\r
621 08 |04 |00 |7d}|00 |00 |00 |04 |08 |04 |00 |7e~|00 |00 |00 |04 ...}.......~....\r
622 08 |04 |00 |7f |00 |00 |00 |04 |08 |04 |00 |80€|00 |00 |00 |04 ...........€....\r
623 08 |04 |00 |81�|00 |00 |00 |04 |08 |04 |00 |82‚|00 |00 |00 |04 ...�.......‚....\r
624 08 |04 |00 |83ƒ|00 |00 |00 |04 |08 |04 |00 |84„|00 |00 |00 |04 ...ƒ.......„....\r
625 08 |04 |00 |85…|00 |00 |00 |04 |08 |04 |00 |86†|00 |00 |00 |04 ...….......†....\r
626 08 |04 |00 |87‡|00 |00 |00 |04 |08 |04 |00 |88ˆ|00 |00 |00 |04 ...‡.......ˆ....\r
627 08 |04 |00 |89‰|00 |00 |00 |04 |08 |04 |00 |8aŠ|00 |00 |00 |04 ...‰.......Š....\r
628 08 |04 |00 |8b‹|00 |00 |00 |04 |08 |04 |00 |8cŒ|00 |00 |00 |04 ...‹.......Œ....\r
629 08 |04 |00 |8d�|00 |00 |00 |04 |08 |04 |00 |8eŽ|00 |00 |00 |04 ...�.......Ž....\r
630 08 |04 |00 |8f�|00 |00 |00 |04 |08 |04 |00 |90�|00 |00 |00 |04 ...�.......�....\r
631 08 |04 |00 |91‘|00 |00 |00 |04 |08 |04 |00 |92’|00 |00 |00 |04 ...‘.......’....\r
632 08 |04 |00 |93“|00 |00 |00 |04 |08 |04 |00 |94”|00 |00 |00 |04 ...“.......”....\r
633 08 |04 |00 |95•|00 |00 |00 |04 |08 |04 |00 |96–|00 |00 |00 |04 ...•.......–....\r
634 08 |04 |00 |97—|00 |00 |00 |04 |08 |04 |00 |98˜|00 |00 |00 |04 ...—.......˜....\r
635 08 |04 |00 |99™|00 |00 |00 |04 |08 |04 |00 |9aš|00 |00 |00 |04 ...™.......š....\r
636 08 |04 |00 |9b›|00 |00 |00 |04 |08 |04 |00 |9cœ|00 |00 |00 |04 ...›.......œ....\r
637 08 |04 |00 |9d�|00 |00 |00 |04 |08 |04 |00 |9ež|00 |00 |00 |04 ...�.......ž....\r
638 08 |04 |00 |9fŸ|00 |00 |00 |04 |08 |04 |00 |a0 |00 |00 |00 |04 ...Ÿ....... ....\r
639 08 |04 |00 |a1¡|00 |00 |00 |04 |08 |04 |00 |a2¢|00 |00 |00 |04 ...¡.......¢....\r
640 08 |04 |00 |a3£|00 |00 |00 |04 |08 |04 |00 |a4¤|00 |00 |00 |04 ...£.......¤....\r
641 08 |04 |00 |a5¥|00 |00 |00 |04 |08 |04 |00 |a6¦|00 |00 |00 |04 ...¥.......¦....\r
642 08 |04 |00 |a7§|00 |00 |00 |04 |08 |04 |00 |a8¨|00 |00 |00 |04 ...§.......¨....\r
643 08 |04 |00 |a9©|00 |00 |00 |04 |08 |04 |00 |aaª|00 |00 |00 |04 ...©.......ª....\r
644 08 |04 |00 |ab«|00 |00 |00 |04 |08 |04 |00 |ac¬|00 |00 |00 |04 ...«.......¬....\r
645 08 |04 |00 |ad­|00 |00 |00 |04 |08 |04 |00 |ae®|00 |00 |00 |04 ...­.......®....\r
646 08 |04 |00 |af¯|00 |00 |00 |04 |08 |04 |00 |b0 |00 |00 |00 |04 ...¯............\r
647 08 |04 |00 |b1 |00 |00 |00 |04 |08 |04 |00 |b2 |00 |00 |00 |04 ................\r
648 08 |04 |00 |b3 |00 |00 |00 |04 |08 |04 |00 |b4 |00 |00 |00 |04 ................\r
649 08 |04 |00 |b5µ|00 |00 |00 |04 |08 |04 |00 |b6¶|00 |00 |00 |04 ...µ.......¶....\r
650 08 |04 |00 |b7·|00 |00 |00 |04 |08 |04 |00 |b8¸|00 |00 |00 |04 ...·.......¸....\r
651 08 |04 |00 |b9 |00 |00 |00 |04 |08 |04 |00 |ba |00 |00 |00 |04 ................\r
652 08 |04 |00 |bb |00 |00 |00 |04 |08 |04 |00 |bc |00 |00 |00 |04 ................\r
653 08 |04 |00 |bd½|00 |00 |00 |04 |08 |04 |00 |be¾|00 |00 |00 |04 ...½.......¾....\r
654 08 |04 |00 |bf |00 |00 |00 |04 |08 |04 |00 |c0 |00 |00 |00 |04 ................\r
655 08 |04 |00 |c1 |00 |00 |00 |04 |08 |04 |00 |c2 |00 |00 |00 |04 ................\r
656 08 |04 |00 |c3 |00 |00 |00 |04 |08 |04 |00 |c4 |00 |00 |00 |04 ................\r
657 08 |04 |00 |c5 |00 |00 |00 |04 |08 |04 |00 |c6Æ|00 |00 |00 |04 ...........Æ....\r
658 08 |04 |00 |c7Ç|00 |00 |00 |04 |08 |04 |00 |c8 |00 |00 |00 |04 ...Ç............\r
659 08 |04 |00 |c9 |00 |00 |00 |04 |08 |04 |00 |ca |00 |00 |00 |04 ................\r
660 08 |04 |00 |cb |00 |00 |00 |04 |08 |04 |00 |cc |00 |00 |00 |04 ................\r
661 08 |04 |00 |cd |00 |00 |00 |04 |08 |04 |00 |ce |00 |00 |00 |04 ................\r
662 08 |04 |00 |cfÏ|00 |00                                         ...Ï..          \r
663 Received frame 0x38 / 0x0306\r
664 02 |1d |00 |0b |00 |60`|00 |04 |08 |04 |00 |d0Ð|00 |00 |00 |04 .....`.....Ð....\r
665 08 |04 |00 |d1Ñ|00 |00 |00 |04 |08 |04 |00 |d2Ò|00 |00 |00 |04 ...Ñ.......Ò....\r
666 08 |04 |00 |d3Ó|00 |00 |00 |04 |08 |04 |00 |d4Ô|00 |00 |00 |04 ...Ó.......Ô....\r
667 08 |04 |00 |d5Õ|00 |00 |00 |04 |08 |04 |00 |d6Ö|00 |00 |00 |04 ...Õ.......Ö....\r
668 08 |04 |00 |d7×|00 |00 |00 |04 |08 |04 |00 |d8Ø|00 |00 |00 |04 ...×.......Ø....\r
669 08 |04 |00 |d9 |00 |00 |00 |04 |08 |04 |00 |da |00 |00 |00 |db ................\r
670 08 |00 |00 |00 |00 |00 |00 |dc |08 |00 |00 |00 |00 |00 |00 |dd ...............Ý\r
671 08 |00 |00 |00 |00 |00 |00 |deÞ|08 |00 |00 |00 |00 |00 |00 |df .......Þ........\r
672 08 |00 |00 |00 |00 |00 |00 |e0à|08 |00 |00 |00 |00 |00 |00 |e1 .......à.......á\r
673 08 |00 |00 |00 |00 |00 |00 |e2â|08 |00 |00 |00 |00 |00 |00 |e3 .......â.......ã\r
674 08 |00 |00 |00 |00 |00 |00 |e4ä|08 |00 |00 |00 |00 |00 |00 |e5 .......ä.......å\r
675 08 |00 |00 |00 |00 |00 |00 |04 |08 |04 |00 |e6æ|00 |00 |00 |e7 ...........æ...ç\r
676 08 |00 |00 |00 |00 |00 |00 |e8è|08 |00 |00 |00 |00 |00 |00 |04 .......è........\r
677 08 |04 |00 |e9é|00 |00 |00 |04 |08 |04 |00 |eaê|00 |00 |00 |04 ...é.......ê....\r
678 08 |04 |00 |ebë|00 |00 |00 |04 |08 |04 |00 |ecì|00 |00 |00 |04 ...ë.......ì....\r
679 08 |04 |00 |edí|00 |00 |00 |04 |08 |04 |00 |eeî|00 |00 |00 |04 ...í.......î....\r
680 08 |04 |00 |efï|00 |00 |00 |04 |08 |04 |00 |f0ð|00 |00 |00 |04 ...ï.......ð....\r
681 08 |04 |00 |f1 |00 |00 |00 |04 |08 |04 |00 |f2 |00 |00 |00 |04 ................\r
682 08 |04 |00 |f3 |00 |00 |00 |04 |08 |04 |00 |f4 |00 |00 |00 |f5 ...............õ\r
683 08 |00 |00 |00 |00 |00 |00 |f6ö|08 |00 |00 |00 |00 |00 |00 |f7 .......ö.......÷\r
684 08 |00 |00 |00 |00 |00 |00 |f8ø|08 |00 |00 |00 |00 |00 |00 |04 .......ø........\r
685 08 |04 |00 |f9ù|00 |00 |00 |04 |08 |04 |00 |fa |00 |00 |00 |04 ...ù............\r
686 08 |04 |00 |fbû|00 |00 |00 |04 |08 |04 |00 |fcü|00 |00 |00 |04 ...û.......ü....\r
687 08 |04 |00 |fdý|00 |00 |00 |04 |08 |04 |00 |fe |00 |00 |00 |04 ...ý............\r
688 08 |04 |00 |ffÿ|00 |00 |00 |04 |08 |04 |01 |00 |00 |00 |00 |04 ...ÿ............\r
689 08 |04 |01 |01 |00 |00 |00 |04 |08 |04 |01 |02 |00 |00 |00 |04 ................\r
690 08 |04 |01 |03 |00 |00 |00 |04 |08 |04 |01 |04 |00 |00 |00 |04 ................\r
691 08 |04 |01 |05 |00 |00 |00 |04 |08 |04 |01 |06 |00 |00 |00 |04 ................\r
692 08 |04 |01 |07 |00 |00 |00 |04 |08 |04 |01 |08 |00 |00 |00 |04 ................\r
693 08 |04 |01 |09 |00 |00 |00 |04 |08 |04 |01 |0a |00 |00 |00 |04 ................\r
694 08 |04 |01 |0b |00 |00 |00 |04 |08 |04 |01 |0c |00 |00 |00 |04 ................\r
695 08 |04 |01 |0d |00 |00 |00 |04 |08 |04 |01 |0e |00 |00 |00 |04 ................\r
696 08 |04 |01 |0f |00 |00 |00 |04 |08 |04 |01 |10 |00 |00 |00 |04 ................\r
697 08 |04 |01 |11 |00 |00 |00 |04 |08 |04 |01 |12 |00 |00 |00 |04 ................\r
698 08 |04 |01 |13 |00 |00 |00 |04 |08 |04 |01 |14 |00 |00 |00 |04 ................\r
699 08 |04 |01 |15 |00 |00 |00 |04 |08 |04 |01 |16 |00 |00 |00 |04 ................\r
700 08 |04 |01 |17 |00 |00 |00 |04 |08 |04 |01 |18 |00 |00 |00 |04 ................\r
701 08 |04 |01 |19 |00 |00 |00 |04 |08 |04 |01 |1a |00 |00 |00 |04 ................\r
702 08 |04 |01 |1b |00 |00 |00 |04 |08 |04 |01 |1c |00 |00 |00 |04 ................\r
703 08 |04 |01 |1d |00 |00 |00 |04 |08 |04 |01 |1e |00 |00 |00 |04 ................\r
704 08 |04 |01 |1f |00 |00 |00 |04 |08 |04 |01 |20 |00 |00 |00 |04 ........... ....\r
705 08 |04 |01 |21!|00 |00 |00 |04 |08 |04 |01 |22"|00 |00 |00 |04 ...!......."....\r
706 08 |04 |01 |23#|00 |00 |00 |04 |08 |04 |01 |24$|00 |00 |00 |04 ...#.......$....\r
707 08 |04 |01 |25%|00 |00 |00 |04 |08 |04 |01 |26&|00 |00 |00 |04 ...%.......&....\r
708 08 |04 |01 |27'|00 |00 |00 |04 |08 |04 |01 |28(|00 |00 |00 |04 ...'.......(....\r
709 08 |04 |01 |29)|00 |00 |00 |04 |08 |04 |01 |2a*|00 |00 |00 |04 ...).......*....\r
710 08 |04 |01 |2b+|00 |00 |00 |04 |08 |04 |01 |2c,|00 |00 |00 |04 ...+.......,....\r
711 08 |04 |01 |2d-|00 |00 |00 |04 |08 |04 |01 |2e.|00 |00 |00 |04 ...-............\r
712 08 |04 |01 |2f/|00 |00                                         .../..          \r
713 Sending frame 0x38 / 0x000e\r
714 00 |02 |00 |0c |00 |01 |00 |01 |08 |02 |05 |08 |00 |00         ..............  \r
715 Received frame 0x38 / 0x0006\r
716 02 |1d |00 |0d |00 |00                                         ......          \r
718 0x39: PROFILES\r
720     s Get Profile           { 0x01, 0x01, 0x0c, 0x01,\r
721                               0x04 (length), profile #, 'feature', 0x01 }\r
722     r Get Profile           { 0x02, 0x00, 0x0c, 0x02, \r
723                               0x09 (length), type, 0x01, 0x02, 0x00, 0x00, 0x01, value, 0x02 ... }\r
725     s Set Profile           { 0x03, 0x01, # blocks, 0x03, \r
726                               length, type, profile #, value, 0x00, 0x00, 0x01, value, 0x03 ... }\r
727     r Set Profile           { 0x04, 0x01, # blocks,\r
728                               length, 0xXX, type, 0xXX, value\r
729                               where value: 0x00 = success\r
731 0x3E: FM Radio\r
732     s Get FM Station        { 0x00, 0x01, 0x00, 0x05, location, 0x00, 0x01}\r
733     r Get FM Station        {                   0x06, 0x00, 0x01, 0x00, 0x1c,\r
734                              name_length, 0x14, 0x09, 0x00, location, 0x00, 0x00, 0x01,\r
735                              FreqHI , FreqLO,\r
736                              name_in_unicode,[0x55,0x55] - if name_length is odd}\r
737                              where frequency = (0xffff + FreqHi * 0x100 + FreqLo) kHz\r
738     \r
739     r Get FM Station        {                   0x16, 0x05, 0x06 } - if entry is empty\r
741 0x42:\r
742     s ????                  {+00 |07 |00 |01 |00 |02}\r
743     r ????                  {+07 |2d-|00 |02 |06 |02 |00 |02 |00 |01 |02 |08 |00 |0c |07 |d1 |00 |00}\r
745 0x42:\r
746     s Get ???               {+0x00, 0x07, 0x02, 0x01, 0x00, 0x01 }\r
747     r Get ???               { 02 |06 |02 |00 |02 |00 |01 |02 |08 |00 |0c |07 |d1 |00 |00}\r
748     s Get original IMEI ?   {+0x00, 0x07, 0x02, 0x01, 0x00, 0x01 }\r
749     r Get original IMEI ?   { 0x02, 0x06, 0x01, 0x01, 0x00, 0x01, 0x01, 0x18, 0x01, 0x00, IMEI, 0x00, 'U' }\r
750     s Get ???               {+0x00, 0x07, 0x03, 0x01, 0x00, 0x02 }\r
751     r Get ???               { 02 |06 |02 |00 |02 |00 |01 |02 |08 |00 |0c |07 |d1 |00 |00}\r
752     s Get ???               {+0x00, 0x07, 0x04, 0x01, 0x00, 0x10 }\r
753     r Get ???               { 02 |06 |10 |00 |10 |00 |01 |05 |08 |00 |00 |00 |00 | 00 |00}\r
754     s Get ???               {+0x00, 0x07, 0x05, 0x01, 0x00, 0x08 }\r
755     r Get ???               { 02 |06 |08 |00 |08 |00 |01 |04 |08 |00 |00 |00 |00 | 00 |00}\r
756     s Get ???               {+0x00, 0x07, 0x06, 0x01, 0x00, 0x20 }\r
757     r Get ???               { 02 |06 |20 |00 |20 |00 |01 |06 |04 |03 |00}\r
759 0x43:\r
760     s ????                  {+00 |08 |00 |01 |00 |00 |00 |00 |00, x}\r
761                             where x = 0x01, 0x02, 0x04, 0x08, 0x10\r
762     r ????                  {+08 |1f |y |02 |00 |00 |00 |00 }\r
763                             where y = 0 - 0x04\r
764     s ???                   {+00 |08 |05 |01 |00 |00 |00 |00 |00 |20}\r
765     r ???                   {+08 |1f |05 |02 |00 |00 |00 |00}\r
767 0x45: PHONEBOOK HANDLING ????\r
768     the same to msg 0x03 ????\r
770 0x53:\r
771     s Get simlock info      {0x0C}\r
773 0x55: TODO\r
774     s Get TODO              {0x03, 0x00, 0x00, 0x80, location low, location hi}\r
775     r Get TODO              {0x04, .... }\r
776     s Get number of TODO    {0x07}\r
777     r Get number of TODO    {0x08, number lo, number hi}\r
778     s Delete all TODO       {0x11}\r
779     r Delete all TODO       {0x12}\r
780     s Get TODO locations    {0x15, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}\r
781     r Get TODO locations    {0x16, ...}\r
783 0x7a: STARTUP\r
784     \r
785     s Get startup logo      { 0x02, 0x0f }\r
786     r Get startup logo      { 0x03, 0x0f, 0x00[4], # blocks,\r
787                               0xc0, 0x02, height (2 octets),\r
788                               0xc0, 0x03, width (2 octets),\r
789                               0xc0, 0x04, size (2 octets),\r
790                               picture }\r
792     s Get startup greeting  { 0x02, 0x01, 0x00 }\r
793     r Get startup greeting  { 0x03, 0x01, 0x00, greeting (unicode), 0x00 }\r
795     s Get anykey answer     { 0x02, 0x05, 0x00 }\r
796     r Get anykey answer     { 0x03, 0x05, 0x00, 0x00/0x01 }\r
798 0xd1:\r
799     s Get HW&SW version     { 0x0003, 0x00 }\r
800 0xd2:\r
801     r Get HW&SW version     { 0x0003 "V " "firmware\n" "firmware date\n"\r
802                               "model\n" "(c) NMP." }\r