AIM/Oscar Protocol Specification:
Section 3: BOS Signon: Set User Information



Set user information [Source: Client]

This sends up the intial profile and capability set. It's also used while online to set yourself away and back. Capabilities are represented by blocks of data, 16 bytes long.

The final portion of this packet is the capability set; it's technically a TLV, but it's easier in code to refer to it otherwise, since the value of the TLV differs based on capabilites.

SNAC Information:

  • Family 0x0002
  • SubType 0x0004
  • Flags {0x00, 0x00}

Container Data TLV Type
RAW SNAC Header
TLV

TLV containing string: text/x-aolrtf; charset="us-ascii"

0x0001
TLV Profile string 0x0002
TLV

TLV containing string: text/x-aolrtf; charset="us-ascii"

0x0003
TLV Away message. TLV value is NULL (and len is 0) if you're not away. 0x0004
TLV Capability block 0x0005

The following table illustrates the capability sets; you could easily send up this entire thing and forget about it, but if you want to be specific, send only those that your client supports. This way, other clients will be notified of your capabilites, and be stopped/warned when sending you requests that you're not capable of dealing with. Hence the word "capability".. :)


Container Data
Buddy icon

0x09, 0x46, 0x13, 0x46, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00

Voice

0x09, 0x46, 0x13, 0x41, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00

 
IM image 0x09, 0x46, 0x13, 0x45, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54,0x00, 0x00  
Chat

0x74, 0x8f, 0x24, 0x20, 0x62, 0x87, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00

 
Get file 0x09, 0x46, 0x13, 0x48, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00  
Send file 0x09, 0x46, 0x13, 0x43, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00  

 

 


Scott Werndorfer
Last modified: Tue Apr 11 22:15:21 EST 2000