Protocols/OSCAR/SNAC/ICBM CHANNEL MSG TO HOST: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 65: | Line 65: | ||
| ''[Class: [[Protocols/OSCAR/Foodgroups/ICBM#TLV_Class:_ICBM_TAGS|ICBM__TAGS]]]'' Message data and parameters; it must contain either the IM or DATA tag | | ''[Class: [[Protocols/OSCAR/Foodgroups/ICBM#TLV_Class:_ICBM_TAGS|ICBM__TAGS]]]'' Message data and parameters; it must contain either the IM or DATA tag | ||
|} | |} | ||
== Examples == | |||
=== Channel 1 Example === | |||
=== Channel 2 Example === | |||
=== Channel 4 Example === | |||
=== ICBM SNACs === | === ICBM SNACs === |
Revision as of 11:15, 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) |
ID | Origin | Name | Foodgroup | Service | Status | Version |
---|---|---|---|---|---|---|
0x0004, 0x0006 | Client | ICBM__CHANNEL_MSG_TOHOST | Unspecified | BOS | Active | 1.25 |
This is the basic inter-client message after which the group was named (Inter-Client Basic Messages).
SNAC Header
Foodgroup | uint16 (word) | 00 04 |
Subgroup | uint16 (word) | 00 06 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Length | Description |
---|---|
8 bytes | Random message cookie |
2 bytes |
Channel ID. Can be one of the following:
|
1 byte | Length L of the following |
L bytes | The destination AIM screen name or ICQ number (in ASCII) of this ICBM |
X bytes | TLVs |
Once at the server, the SNAC is reformatted into a ICBM__CHANNEL_MSG_TOCLIENT before it is sent to the destination user.
Name | Type | Notes |
---|---|---|
cookie | ICBM Cookie | Opaque data generated by conversation initiator and used to link up the conversation and errors |
channel | uint16 (word) | [Class: ICBM__CHANNELS] Channel the message is on |
dest username | string08 | Destination username, who should receive the message |
icbmTlvs | Rest of SNAC array of TLV | [Class: ICBM__TAGS] Message data and parameters; it must contain either the IM or DATA tag |
Examples
Channel 1 Example
Channel 2 Example
Channel 4 Example
ICBM SNACs
|