SNAC(15,02)/07D0/055F  CLI_WHITE_PAGES_SEARCH2 

This is client tlv-based white pages search request used by ICQ2001+. Server should respond with 1 or more packets. Last reply packet allways SNAC(15,03)/07DA/01AE, other reply packets SNAC(15,03)/07DA/01A4. See also list of TLVs that modern clients use in TLV-based requests.

 00 15   word   SNAC family
 00 02   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 D0 07   word (LE)   data type: META_DATA_REQ
 02 00   word (LE)   request sequence number
 5F 05   word (LE)   data subtype: CLI_WHITE_PAGES_SEARCH2
 90 01   word (LE)   TLV.Type(0x0190) - City to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   City string length
 xx .. xx 00   string (asciiz)   city name string

 9A 01   word (LE)   TLV.Type(0x019A) - State to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   State string length
 xx .. xx 00   string (asciiz)   State abbr string

 AE 01   word (LE)   TLV.Type(0x01AE) - Company to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Company string length
 xx .. xx 00   string (asciiz)   Company name string

 B8 01   word (LE)   TLV.Type(0x01B8) - Department to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Department string length
 xx .. xx 00   string (asciiz)   Department name string

 C2 01   word (LE)   TLV.Type(0x01C2) - Position to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Position string length
 xx .. xx 00   string (asciiz)   Position name string

 68 01   word (LE)   TLV.Type(0x0168) - Age range to search
 xx xx   word (LE)   TLV.Length
 xx xx   word   Min age to search
 xx xx   word   Max age to search

 7C 01   word (LE)   TLV.Type(0x017C) - Gender to search
 xx xx   word (LE)   TLV.Length
 xx   byte   Gender

 86 01   word (LE)   TLV.Type(0x0186) - Language to search
 xx xx   word (LE)   TLV.Length
 xx xx   word   Language code to search

 A4 01   word (LE)   TLV.Type(0x01A4) - Country to search
 xx xx   word (LE)   TLV.Length
 xx xx   word   Country code to search

 CC 01   word (LE)   TLV.Type(0x01CC) - Ocupation code to search
 xx xx   word (LE)   TLV.Length
 xx xx   word   Ocupation code

 D6 01   word (LE)   TLV.Type(0x01D6) - Past info to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Past category
 xx xx   word (LE)   Past keywords string length
 xx .. xx 00   string (asciiz)   Past keywords string ("," - separator)

 EA 01   word (LE)   TLV.Type(0x01EA) - Interests info to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Interests category
 xx xx   word (LE)   Interests keywords string length
 xx .. xx 00   string (asciiz)   Interests keywords string ("," - separator)

 FE 01   word (LE)   TLV.Type(0x01FE) - Affilations info to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Affilations category
 xx xx   word (LE)   Affilations keywords string length
 xx .. xx 00   string (asciiz)   Affilations keywords string ("," - separator)

 12 02   word (LE)   TLV.Type(0x0212) - Homepage info to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Homepage category
 xx xx   word (LE)   Homepage keywords string length
 xx .. xx 00   string (asciiz)   Homepage keywords string ("," - separator)

 40 01   word (LE)   TLV.Type(0x0140) - Firstname to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Firstname string length
 xx .. xx 00   string (asciiz)   Firstname string

 4A 01   word (LE)   TLV.Type(0x014A) - Lastname to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Lastname string length
 xx .. xx 00   string (asciiz)   Lastname string

 54 01   word (LE)   TLV.Type(0x0154) - Nickname search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Nickname string length
 xx .. xx 00   string (asciiz)   Nickname string

 26 02   word (LE)   TLV.Type(0x0226) - Keyword to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Keywords string length
 xx .. xx 00   string (asciiz)   Keywords string ("," - separator)

 5E 01   word (LE)   TLV.Type(0x0015E) - Email to search
 xx xx   word (LE)   TLV.Length
 xx xx   word (LE)   Email string length
 xx .. xx 00   string (asciiz)   Email string

 30 02   word (LE)   TLV.Type(0x0230) - Search online/offline flag
 xx xx   word (LE)   TLV.Length
 xx   byte   flag: (1 - search online, 0 - search all)

Example SNAC dump with flap header:

  2A 02 1E 90 01 14 00 15 00 02 00 00 00 0E 00 02 *...............
  00 01 01 06 04 01 8F E4 5E 00 D0 07 11 00 5F 05 ........^....._.
  90 01 07 00 05 00 43 69 74 79 00 AE 01 0A 00 08 ......City......
  00 43 6F 6D 70 61 6E 79 00 B8 01 0D 00 0B 00 44 .Company.......D
  65 70 61 72 74 6D 65 6E 74 00 C2 01 0B 00 09 00 epartment.......
  50 6F 73 69 74 69 6F 6E 00 68 01 04 00 1E 00 27 Position.h.....'
  00 7C 01 01 00 02 86 01 02 00 26 00 A4 01 02 00 ..........&.....
  07 00 CC 01 02 00 03 00 D6 01 10 00 2D 01 0C 00 ............-...
  50 61 73 74 4B 65 79 77 6F 72 64 00 EA 01 11 00 PastKeyword.....
  64 00 0D 00 41 72 63 68 69 74 65 63 74 75 72 65 d...Architecture
  00 FE 01 0F 00 CA 00 0B 00 4F 72 67 4B 65 79 77 .........OrgKeyw
  6F 72 64 00 12 02 04 00 2B 0B 00 00 40 01 0C 00 ord.....+...@...
  0A 00 46 69 72 73 74 4E 61 6D 65 00 4A 01 0B 00 ..FirstName.J...
  09 00 4C 61 73 74 4E 61 6D 65 00 54 01 0B 00 09 ..LastName.T....
  00 4E 69 63 6B 4E 61 6D 65 00 26 02 11 00 0F 00 .NickName.&.....
  47 65 6E 65 72 61 6C 4B 65 79 77 6F 72 64 00 5E GeneralKeyword.^
  01 12 00 10 00 45 6D 61 69 6C 40 65 6D 61 69 6C .....Email@email
  2E 6F 72 67 00 30 02 01 00 01                   .org.0....


  Main | Basic | Login | Snaclist | Sequences | Misc | Changes | Credits | Terms