[icq-devel] info responses corrections...



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


Hello icq-devel,

//====================================================='
// META_15_03_D200
// Work info response packet

2A              // flap id
02              // flap channel
BE AD           // flap sequence
00 83           // flap data length
---------------------------------------------
00 15           // snac family 0x15
00 03           // snac subtype 0x03
00 01           // snac flags
00 01 00 02     // snac id
---------------------------------------------
00 01           // TLV 0x01
00 75           // TLV length = 117 bytes
73 00           // incapsulated pack len = 115
8F E4 5E 00     // requested data owner (uin)
---------------------------------------------
DA 07           // command: requested info
02 00           // sequence
D2 00           // command: work information
0A              // data was found. success
----------------------------------------------
0B 00           // wCity string len (+1)
4B .. 6B 00     // wCity string (asciiz)
03 00           // wState string len (+1)
46 45 00        // wState string (asciiz)
04 00           // wPhone string len (+1)
2D 2D 2D 00     // wPhone string (asciiz)
04 00           // wFax string len (asciiz)
2D 2D 2D 00     // wFax string (asciiz)
0C 00           // wAddr length
75 .. 64 00     // wAddr string (asciiz) - len=12
05 00           // wZip string len (+1)
37 .. 30 00     // wZip string (asciiz)
07 00           // wCountry code
06 00           // wCompany string len (+1)
4B .. 55 00     // wCompany string (asciiz)
03 00           // wDepart string len (+1)
55 49 00        // wDepart string (asciiz)
0B 00           // wPosition string len (+1)
50 .. 72 00     // wPosition string (asciiz)
05 00           // wOcupation code (see ICQ work-info tab)
15 00           // wWebpage string len (+1)
68 .. 75 00     // wWebpage string (asciiz)

// ==========================================================
// META_15_03_00C8
// requested basic user info

2A              // flap protocol id
02              // flap channel
BE A9           // flap sequence
00 9F           // flap data length
------------------------------------------------
00 15           // snac family 0x15
00 03           // snac subtype 0x03
00 01           // snac flags 
00 01 00 02     // snac id
------------------------------------------------
00 01           // tlv 1
00 91           // tlv length
8F 00           // remaining length
8F E4 5E 00     // uin 6218895
------------------------------------------------
DA 07           // comm: requested information
02 00           // sequence
C8 00           // subcomm: user_basic_info
0A              // success (info was found)
------------------------------------------------
0A 00           // nick name length (len+1)
52 .. 72 00     // nick name string (asciiz)
09 00           // name length (len+1)
41 .. 72 00     // name string (asciiz)
07 00           // last name length (len+1)
53 .. 6F 00     // last name string (asciiz)
17 00           // first email length (len+1)
41 .. 75 00     // first email string (asciiz)
0A 00           // home city length (len+1)
D5 .. EA 00     // home city string (asciiz)
03 00           // state length (len+1)
46 45 00        // state string (asciiz)
01 00           // phone length (len+1)
00              // phone string (asciiz)
01 00           // fax length (len+1)
00              // fax string (asciiz)
0C 00           // street length (len+1)
75 .. 64 00     // street string (asciiz)
15 00           // cell phone length (len+1)
2B .. 53 00     // cell phone string (asciiz)
06 00           // zip code length (len+1)
36 .. 33 00     // zip string (asciiz)
07 00           // country code
EA              // GMT code
01              // autorization
01              // webaware
01              // direct_conn info (0 - with any user, 1 - with
                // contact list only, 2 - with any upon authorization)
00              // unknown

// ============================================================
// META_15_02_0442
// client set-homepage-category packet

2A              // flap id
02              // flap channel
3F 90           // flap sequence
00 24           // flap data length
------------------------------------------
00 15           // snac family 0x15
00 02           // snac subtype 0x02
00 00           // snac flags
00 0B 00 02     // snac req-id
------------------------------------------
00 01           // TLV 0x01
00 16           // TLV len
14 00           // data chunk length
92 E4 5E 00     // data owner uin
------------------------------------------
D0 07           // cmd: information service
0E 00           // sequence
42 04           // subcmd: set hpage category
------------------------------------------
01              // enabled = 1, disabled = 0

8B 03           // home page category

05 00           // hpage description len
74 65 73 74 00  // hpage description string

note: AOL server accept this packet and send ack
      not saving this data in database.


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




More information about the icq-devel mailing list