SNAC(15,02)/07D0/0410  META_SET_INTERESTS_USERINFO 

Client use this to change interests user information. Server should reply via SNAC(15,03)/07DA/008C which contain flag byte. If flag byte doesn't equal 0x0A - there was an error saving info.

 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
 02 00   word (LE)   request sequence number
 10 04   word (LE)   data subtype: META_SET_INTERESTS_USERINFO
 04   char   number of interests (allways 4)
 
 xx xx   word (LE)   interest1 category code
 xx xx   word (LE)   interest1 keyword string length
 xx .. xx 00   asciiz str   interest1 keyword string
 xx xx   word (LE)   interest2 category code
 xx xx   word (LE)   interest2 keyword string length
 xx .. xx 00   asciiz str   interest2 keyword string
 xx xx   word (LE)   interest3 category code
 xx xx   word (LE)   interest3 keyword string length
 xx .. xx 00   asciiz str   interest3 keyword string
 xx xx   word (LE)   interest4 category code
 xx xx   word (LE)   interest4 keyword string length
 xx .. xx 00   asciiz str   interest4 keyword string

Example SNAC dump with flap header:

  2A 02 05 7D 00 71 00 15 00 02 00 00 00 1D 00 02 *....q..........
  00 01 00 63 61 00 31 DE 0B 00 D0 07 2C 00 10 04 ...ca.1.....,... 
  04 64 00 10 00 43 72 61 66 74 73 2C 6B 65 79 77 .d...Crafts,keyw 
  6F 72 64 31 00 67 00 14 00 41 75 74 6F 67 72 61 ord1.g...Autogra
  70 68 73 2C 6B 65 79 77 6F 72 64 32 00 6B 00 12 phs,keyword2.k..
  00 6B 65 79 77 6F 72 64 33 2C 4E 69 6E 74 65 6E .keyword3,Ninten
  64 6F 00 6F 00 10 00 6B 65 79 77 6F 72 64 34 2C do.o...keyword4,
  54 72 61 76 65 6C 00                            Travel.


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