SNAC(15,03)/07DA/00C8  META_BASIC_USERINFO 

Basic user information packet. If success byte doesn't equal 0x0A - it is last SNAC byte.

 00 15   word   SNAC family
 00 03   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
 DA 07   word (LE)   data type: META_DATA
 02 00   word (LE)   request sequence number
 C8 00   word (LE)   data subtype: META_BASIC_USERINFO
 0A   char   success byte
 
 xx xx   word (LE)   nickname string length
 xx .. xx 00   asciiz str   nickname string
 xx xx   word (LE)   first name string length
 xx .. xx 00   asciiz str   first name string
 xx xx   word (LE)   last name string length
 xx .. xx 00   asciiz str   last name string
 xx xx   word (LE)   email string length
 xx .. xx 00   asciiz str   email string
 xx xx   word (LE)   home city string length
 xx .. xx 00   asciiz str   home city string
 xx xx   word (LE)   home state string length
 xx .. xx 00   asciiz str   home state string
 xx xx   word (LE)   home phone string length
 xx .. xx 00   asciiz str   home phone string
 xx xx   word (LE)   home fax string length
 xx .. xx 00   asciiz str   home fax string
 xx xx   word (LE)   home address string length
 xx .. xx 00   asciiz str   home address string
 xx xx   word (LE)   cell phone string length
 xx .. xx 00   asciiz str   cell phone string
 xx xx   word (LE)   home zip code string length
 xx .. xx 00   asciiz str   home zip code string
 xx xx   word (LE)   home country code
 xx   char   GMT offset
 xx   char   authorization flag
 xx   char   webaware flag
 xx   char   direct connection permissions
 xx   char   publish primary email flag (?)

Example SNAC dump with flap header:

  2A 02 5A 84 00 BF 00 15 00 03 00 01 00 17 00 02 *.Z.............
  00 01 00 B1 AF 00 8F E4 5E 00 DA 07 22 00 C8 00 ........^..."...
  0A 0A 00 52 65 67 72 65 73 73 6F 72 00 09 00 41 ...Regressor...A
  6C 65 78 61 6E 64 72 00 07 00 53 68 75 74 6B 6F lexandr...Shutko
  00 17 00 41 56 73 68 75 74 6B 6F 40 6D 61 69 6C ...AVshutko@mail
  2E 6B 68 73 74 75 2E 72 75 00 0B 00 4B 68 61 62 .khstu.ru...Khab
  61 72 6F 76 73 6B 00 03 00 53 74 00 10 00 2B 37 arovsk...St...+7
  20 28 39 30 32 29 20 31 31 31 31 31 31 00 11 00  (902) 111111...
  2B 37 20 28 34 32 31 32 29 20 32 32 32 32 32 32 +7 (4212) 222222
  00 0C 00 48 6F 6D 65 41 64 64 72 65 73 73 00 15 ...HomeAddress..
  00 2B 37 20 28 39 30 32 29 20 33 33 33 33 33 33 .+7 (902) 333333
  33 20 53 4D 53 00 06 00 39 39 39 39 39 00 07 00 3 SMS...99999...
  EC 01 00 00 00                                  .....


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