SNAC(02,09)  CLI_UPDATExDIRxINFO 

AIM client query to save directory info. Server should reply via SNAC(02,0A).

 00 02   word   SNAC family
 00 09   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(0x01) - first name
 xx xx   word   TLV.Length
 xx ..   string   first name
 00 02   word   TLV.Type(0x02) - last name
 xx xx   word   TLV.Length
 xx ..   string   last name
 00 03   word   TLV.Type(0x03) - middle name
 xx xx   word   TLV.Length
 xx ..   string   middle name string
 00 04   word   TLV.Type(0x04) - maiden name
 xx xx   word   TLV.Length
 xx ..   string   maiden name
 00 06   word   TLV.Type(0x06) - country
 xx xx   word   TLV.Length
 xx ..   string   country (two letter code)
 00 07   word   TLV.Type(0x07) - state
 xx xx   word   TLV.Length
 xx ..   string   state name string
 00 08   word   TLV.Type(0x08) - city
 xx xx   word   TLV.Length
 xx ..   string   city
 00 0A   word   TLV.Type(0x0A) - unknown
 xx xx   word   TLV.Length
 00 01   word   unknown
 00 0C   word   TLV.Type(0x0C) - nick name
 xx xx   word   TLV.Length
 xx ..   string   nick name
 00 0D   word   TLV.Type(0x0D) - zip code
 xx xx   word   TLV.Length
 xx ..   string   zip code number
 00 21   word   TLV.Type(0x21) - Street addr
 xx xx   word   TLV.Length
 xx ..   string   Street address

Example SNAC dumps with flap header:
 
  00 02 00 09 00 00 00 04  00 09 00 1C 00 08 75 73  ........ ......us
  2D 61 73 63 69 69 00 0A  00 02 00 01 00 01 00 09  -ascii.. ........
  46 69 72 73 74 4E 61 6D  65 00 02 00 08 4C 61 73  FirstNam e....Las
  74 4E 61 6D 65 00 03 00  0A 4D 69 64 6C 64 65 4E  tName... .MidldeN
  61 6D 65 00 04 00 0A 4D  61 69 64 65 6E 4E 61 6D  ame....M aidenNam
  65 00 06 00 02 52 55 00  07 00 02 53 54 00 08 00  e....RU. ...ST...
  04 43 69 74 79 00 0C 00  08 4E 69 63 6B 4E 61 6D  .City... .NickNam
  65 00 0D 00 06 36 38 30  30 33 38 00 21 00 0A 53  e....680 038.!..S
  74 72 65 65 74 41 64 64  72                       treetAdd r


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