[icq-devel] misc info



Alexandr V. Shutko AVShutko at mail.khstu.ru
Wed Nov 27 04:17:20 CET 2002


hello icq-devel,

//=============================================================
// META_15_03_0898
// server variable xml-request

2A                      // flap id
02                      // flap channel
39 EB                   // flap sequence
00 36                   // flap data length

00 15                   // snac famly 0x15
00 02                   // snac subtype 0x03
00 00                   // snac flags
00 09 00 02             // snac id

00 01                   // TLV 1
00 28                   // TLV length 40 bytes

26 00                   // 38 bytes remaining

8F E4 5E 00             // uin 6218895
D0 07                   // command
0A 00                   // sequence
98 08                   // subcommand

1A 00                   // strlen()+1 (asciiz)
3C 6B 65 79 3E          // <key>LicenseKeysURL</key>
4C 69 63 65 6E 
73 65 4B 65 79 
73 55 52 4C 3C 
2F 6B 65 79 3E 
00 

// Server should respond with 0x08A2 meta subcmd, which 
// contain string "<value>xxxxx</value>" or byte 0x14 - 
// error: not found.
// Requests examples:

<key>ChannelsURL</key>
<key>BannersURL</key>           // rep: <value>http://205.188.250.25/cb/%d/datafiles/banners.cb?%s</value>
<key>DataFilesURL</key>         // rep: <value>http://205.188.250.25/cb/%d/datafiles/%s.cb</value>
<key>PartnersURL</key>          // rep: <value>http://205.188.250.25/cb/%d/datafiles/%s.cb</value>
<key>ReadersURL</key>           // rep: <value>http://205.188.250.25/cb/%d/datafiles/%s.cb</value>
<key>CLBannersURL</key>         // rep: not found (0x14)
<key>DomainsURL</key>           // rep: not found (0x14)
<key>LicenseKeysURL</key>       // rep: not found (0x14)
<key>ShowMOTDOnFirstTime</key>  // rep: <value>2</value>
<key>SMSShortSigTail</key>      // rep: not found (0x14)
<key>SMSMedSigTail</key>        // rep: not found (0x14)
<key>SMSLongSigTail</key>       // rep: not found (0x14)
<key>ReportToICQ</key>          // client send this only with my server (iserverd) wtf ?

%d replaced by client with version number (icq2002a ver 5.34 - 534)
%s replaced by client with session number (random ? server doesn't send this num)
%s examples: 01971 05835

note: icq2000a/b ignores server replies. icq2001/2002 use this to update its data files 
      from specified in reply http server and after that it says (popup dialog): 
      "datafiles and ldap lists updated from server"

//===================================================================
// META_15_03_08A2
// server xml info reply

2A              // flap id
02              // flap channel
64 2B           // flap sequence
00 1B           // flap data size
--------------------------------------------
00 15           // snac family 0x15
00 03           // snac subtype 0x03
00 00           // snac flags
00 09 00 02     // snac id
--------------------------------------------
00 01           // TLV 0x01
00 0D           // TLV len
0B 00           // data chunk size
8F E4 5E 00     // data owner uin
--------------------------------------------
DA 07           // cmd: information service
0A 00           // sequence
A2 08           // subcmd: xml data reply
0A              // data was found: success
--------------------------------------------
11 00           // xml data string len
76 .. 3E 00     // xml reply "<value>2</value>"

//===================================================================
// META_15_02_0654
// Client sends this packet after changing icqphone status
// to show/not to show -> i call it icqphone_set_info

2A              // flap id
02              // flap channel
71 79           // flap sequence
00 30           // flap data length
------------------------------------------------
00 15           // snac family 0x15
00 02           // snac subtype 0x02
00 00           // snac flags
00 10 00 02     // snac id
------------------------------------------------
00 01           // TLV 0x01
00 22           // TLV size
20 00           // data chunk size
92 E4 5E 00     // data owner uin
------------------------------------------------
D0 07           // information service 
18 00           // sequence
54 06           // icq phone status change ???
------------------------------------------------
3F B6 5E 38     // unknown data follows 
A0 30 D4 11 
BD 0F 00 06 
29 EE 4D A1
00 00 
01 00           // show phone in contact = 1, don't show = 0
00 00     

server responds with META_15_03_031E ACK packet.
It contain only one data byte (0A - success, 14 - database error)

// =========================================================
// META_15_03_0001
// Server sends this when it can't deliver sms message
// I call it - META_PROCESSING_ERROR
// I also tried various errcodes but icq only responds (error,
// errorcode=80454001)

2A              // flap id
02              // flap channel
85 27           // flap sequence
00 83           // flap data size
---------------------------------------
00 15           // snac family 0x15
00 03           // snac subtype 0x03
00 00           // snac flags
00 6D 00 02     // snac req-id
---------------------------------------
00 01           // TLV 0x01
00 75           // TLV size
73 00           // data chunk size
8F E4 5E 00     // data owner uin
---------------------------------------
DA 07           // cmd: information response
73 00           // sequence
01 00           // subcmd: info error
---------------------------------------
46              // errcode 0x46 - SMS not sent (text reason)
54 .. 2E 00     // reason (asciiz string without length)


-- 
with respect,
Alexandr V. Shutko                           mailto:AVShutko at mail.khstu.ru




More information about the icq-devel mailing list