Protocols/OSCAR/Messages: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} == Message == == Message Types == == Message Flags == Category:Stub Category:AOL Category:AIM Category:Protocols/OSCAR Category:Work_...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Message == | == Message == | ||
=== From Aleksandr Shutko: Message format in extended data for rendezvous channel. === | |||
<table width=645 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#4040FF> | |||
<table width=100% cellSpacing=0 cellPadding=0 border=0><tr><td><b> | |||
<font color="white"> Message format in extended data for rendezvous channel </font> | |||
</b></td><td width=20% align=right><b><font color="white"> </font></b> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=145> xx</td> | |||
<td width=5> </td> | |||
<td>byte</td> | |||
<td width=5> </td> | |||
<td width=60%>[[Protocols/OSCAR/Messages#Message_Types|message type]]</td> | |||
</tr> | |||
<tr> | |||
<td> xx</td> | |||
<td> </td> | |||
<td>byte</td> | |||
<td> </td> | |||
<td>[[Protocols/OSCAR/Messages#Message_Flags|message flags]]</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word (LE)</td> | |||
<td> </td> | |||
<td>status code</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word (LE)</td> | |||
<td> </td> | |||
<td>priority code</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word (LE)</td> | |||
<td> </td> | |||
<td>message string length</td> | |||
</tr> | |||
<tr> | |||
<td> xx ..</td> | |||
<td> </td> | |||
<td>string</td> | |||
<td> </td> | |||
<td>message string (null-terminated)</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=5></td></tr> | |||
<tr><td bgcolor=#e9e9e9> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td width=20></td> | |||
<td> | |||
<table width=620 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#c9c9e9>If message type is MTYPE_PLAIN:</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=620 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=130> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword (LE)</td> | |||
<td width=5> </td> | |||
<td width=60%>text color (rgbn, optional)</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword (LE)</td> | |||
<td> </td> | |||
<td>background color (rgbn, optional)</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword (LE)</td> | |||
<td> </td> | |||
<td>guid string length (optional)</td> | |||
</tr> | |||
<tr> | |||
<td> xx ..</td> | |||
<td> </td> | |||
<td>string</td> | |||
<td> </td> | |||
<td>guid string (optional)</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5> | |||
</td></tr></table> | |||
</td></tr> | |||
<tr><td height=8 colspan=5></td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
== Message Types == | == Message Types == | ||
<b>Message types</b>. Each OSCAR message has type. It can be just plain message, | |||
url message, contact list, wwp, email express or another. Only one byte used for | |||
message type. Here is the list of known message types:<br><br> | |||
<table width=570 cellSpacing=1 cellPadding=1 border=0> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=50 valign=top> <b>0x01</b></td> | |||
<td bgcolor=#f9f9f9 width=1 valign=top> MTYPE_PLAIN </td> | |||
<td bgcolor=#f9f9f9 width=350 valign=top> Plain text (simple) message</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x02</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_CHAT </td> | |||
<td bgcolor=#f9f9f9 valign=top> Chat request message</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x03</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_FILEREQ </td> | |||
<td bgcolor=#f9f9f9 valign=top> File request / file ok message</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x04</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_URL </td> | |||
<td bgcolor=#f9f9f9 valign=top> URL message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x06</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTHREQ </td> | |||
<td bgcolor=#f9f9f9 valign=top> Authorization request message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x07</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTHDENY </td> | |||
<td bgcolor=#f9f9f9 valign=top> Authorization denied message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x08</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTHOK </td> | |||
<td bgcolor=#f9f9f9 valign=top> Authorization given message (empty)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x09</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_SERVER </td> | |||
<td bgcolor=#f9f9f9 valign=top> Message from OSCAR server (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x0C</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_ADDED </td> | |||
<td bgcolor=#f9f9f9 valign=top> "You-were-added" message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x0D</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_WWP </td> | |||
<td bgcolor=#f9f9f9 valign=top> Web pager message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x0E</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_EEXPRESS </td> | |||
<td bgcolor=#f9f9f9 valign=top> Email express message (0xFE formatted)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x13</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_CONTACTS </td> | |||
<td bgcolor=#f9f9f9 valign=top> Contact list message</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x1A</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_PLUGIN </td> | |||
<td bgcolor=#f9f9f9 valign=top> Plugin message described by text string</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0xE8</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTOAWAY </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto away message </td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0xE9</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTOBUSY </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto occupied message </td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0xEA</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTONA </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto not available message </td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0xEB</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTODND </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto do not disturb message </td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0xEC</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MTYPE_AUTOFFC </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto free for chat message </td> | |||
</tr> | |||
</table> | |||
== Message Flags == | == Message Flags == | ||
<b>Message flags</b>. Message flag used to indicate additional message properties. | |||
like auto message, multiple recipients message, etc. Message flag field occupy 1 | |||
byte. Here is the list of known message flag codes:<br><br> | |||
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td width=20></td> | |||
<td> | |||
<table width=570 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0> | |||
<tr><td bgcolor=#E5E5E5> | |||
<table width=570 cellSpacing=1 cellPadding=1 border=0> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=50 valign=top> <b>0x01</b></td> | |||
<td bgcolor=#f9f9f9 width=1 valign=top> MFLAG_NORMAL </td> | |||
<td bgcolor=#f9f9f9 width=350 valign=top> Normal message</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x03</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MFLAG_AUTO </td> | |||
<td bgcolor=#f9f9f9 valign=top> Auto-message flag</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 valign=top> <b>0x80</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> MFLG_MULTI </td> | |||
<td bgcolor=#f9f9f9 valign=top> This is multiple recipients message</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:Stub]] | [[Category:Stub]] |
Latest revision as of 11:33, 14 February 2021
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
Datatypes • FLAP • SNAC • TLV |
UUIDs • Errors • Tool IDs |
Host Interaction |
Rate Limits • Migration • Messages |
Other Services |
ADMIN • ADVERT • ALERT |
BART • BOS • BUCP • CHAT |
CHAT_NAV |
Tutorials |
Sign On • BART • Rendezvous |
ICBM • Locate • Buddies |
Foodgroups |
OSERVICE (0x0001) |
LOCATE (0x0002) |
BUDDY (0x0003) |
ICBM (0x0004) |
ADVERT (0x0005) |
INVITE (0x0006) |
ADMIN (0x0007) |
POPUP (0x0008) |
PD (0x0009) |
USER_LOOKUP (0x000A) |
STATS (0x000B) |
TRANSLATE (0x000C) |
CHAT_NAV (0x000D) |
CHAT (0x000E) |
ODIR (0x000F) |
BART (0x0010) |
FEEDBAG (0x0013) |
ICQ (0x0015) |
BUCP (0x0017) |
ALERT (0x0018) |
PLUGIN (0x0022) |
UNNAMED_FG_24 (0x0024) |
MDIR (0x0025) |
ARS (0x044A) |
Message
From Aleksandr Shutko: Message format in extended data for rendezvous channel.
|
|
Message Types
Message types. Each OSCAR message has type. It can be just plain message, url message, contact list, wwp, email express or another. Only one byte used for message type. Here is the list of known message types:
0x01 | MTYPE_PLAIN | Plain text (simple) message |
0x02 | MTYPE_CHAT | Chat request message |
0x03 | MTYPE_FILEREQ | File request / file ok message |
0x04 | MTYPE_URL | URL message (0xFE formatted) |
0x06 | MTYPE_AUTHREQ | Authorization request message (0xFE formatted) |
0x07 | MTYPE_AUTHDENY | Authorization denied message (0xFE formatted) |
0x08 | MTYPE_AUTHOK | Authorization given message (empty) |
0x09 | MTYPE_SERVER | Message from OSCAR server (0xFE formatted) |
0x0C | MTYPE_ADDED | "You-were-added" message (0xFE formatted) |
0x0D | MTYPE_WWP | Web pager message (0xFE formatted) |
0x0E | MTYPE_EEXPRESS | Email express message (0xFE formatted) |
0x13 | MTYPE_CONTACTS | Contact list message |
0x1A | MTYPE_PLUGIN | Plugin message described by text string |
0xE8 | MTYPE_AUTOAWAY | Auto away message |
0xE9 | MTYPE_AUTOBUSY | Auto occupied message |
0xEA | MTYPE_AUTONA | Auto not available message |
0xEB | MTYPE_AUTODND | Auto do not disturb message |
0xEC | MTYPE_AUTOFFC | Auto free for chat message |
Message Flags
Message flags. Message flag used to indicate additional message properties.
like auto message, multiple recipients message, etc. Message flag field occupy 1
byte. Here is the list of known message flag codes:
|