[icq-devel] get contactlist via SNAC(13,04)



Janosch Gräf janosch.graef at gmx.net
Sat Nov 11 17:44:41 CET 2006


Hi,

I want to get my contactlist (first time) via SNAC(13,04) from server.
http://iserverd.khstu.ru/oscar/snac_13_04.html
I get this reply:
http://iserverd.khstu.ru/oscar/snac_13_06.html

2A 02 C1 B3 00 A1 00 13 00 06 80 00 00 00 00 04  *...............
00 06 00 01 00 02 00 02 00 00 04 00 00 00 00 00  ................
00 00 01 00 06 00 C8 00 02 00 01 00 00 00 00 07  ................
DD 00 1D 00 28 00 67 00 04 45 4E 19 1C 01 50 00  ....(.g..EN...P.
04 00 00 00 00 01 53 00 04 00 00 00 69 01 52 00  ......S.....i.R.
04 00 00 00 00 01 51 00 04 00 00 19 DE 00 09 41  ......Q........A
6C 6C 67 65 6D 65 69 6E 00 01 00 00 00 01 00 06  llgemein........
00 C8 00 02 00 01 00 09 32 30 30 32 38 37 30 34  ........20028704
37 00 01 00 01 00 00 00 1A 01 31 00 0A 53 63 68  7.........1..Sch
6E 65 65 6D 61 6E 6E 00 6D 00 08 45 53 7A 15 00  neemann.m..ESz..
00 00 00 45 55 E6 C6                             ...EU..

I've splitted it up:

2A 02 C1 B3 00 A1 | FLAP HEAD
   00 13 00 06 80 00 00 00 00 04 | SNAC(0x13,0x06) | FLAGS: 8x80 0x00 |
REQ: 0x00 0x00 0x00 0x04
      00 | SSI PROTCOL VERSION
      06 00 | NUMBER OF ITEMS
      01 00 02 00 02 00 00 04 00 00 00 00 00 00 00 01
      00 06 00 C8 00 02 00 01 00 00 00 00 07 DD 00 1D
      00 28 00 67 00 04 45 4E 19 1C 01 50 00 04 00 00
      00 00 01 53 00 04 00 00 00 69 01 52 00 04 00 00
      00 00 01 51 00 04 00 00 19 F9 00 09 41 6C 6C 67
      65 6D 65 69 6E 00 01 00 00 00 01 00 06 00 C8 00
      02 00 01 00 09 32 30 30 32 38 37 30 34 37 00 01
      00 01 00 00 00 1A 01 31 00 0A 53 63 68 6E 65 65
      6D 61 6E 6E 00 6D 00 08 45 53 7A 15 00 00 00 00
      45 55 E8 08 | LIST OF ITEMS

I don't have 1536 buddies in my contactlist! I have just _one_ buddy in
my contactlist. And what's the matter of the SNAC-Flag (first byte)?


More information about the icq-devel mailing list