Protocols/OSCAR/SNAC/FEEDBAG STATUS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 129: | Line 129: | ||
| General timeout | | General timeout | ||
|} | |} | ||
=== From Aleksandr Shutko: SNAC(13,0E) FEEDBAG__STATUS === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
This SNAC is an ack sent by the server when [[Protocols/OSCAR/SNAC_13_08|adding]] | |||
a buddy, [[Protocols/OSCAR/SNAC_13_0a|deleting]] a buddy, | |||
or otherwise [[Protocols/OSCAR/SNAC_13_09|modifying]] a group. See also snac list for SSI service | |||
[[Protocols/OSCAR/Foodgroups/FEEDBAG|here]]. This snac contain flag. Here | |||
is the list of its known values:<br><br> | |||
<table width=100% 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=100% cellSpacing=1 cellPadding=1 border=0> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0000</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> No errors (success)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0002</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Item you want to modify not found in list</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0003</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Item you want to add allready exists</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000A</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Error adding item (invalid id, allready in list, invalid data)</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000C</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Can't add item. Limit for this type of items exceeded</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000D</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Trying to add ICQ contact to an AIM list</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000E</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> Can't add this contact because it requires authorization</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=20%> 00 13</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 0E</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC request-id</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9 > | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=20%> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>result code for item #1 (see list above)</td> | |||
</tr> | |||
<tr > | |||
<td> ...</td> | |||
<td> </td> | |||
<td> ...</td> | |||
<td> </td> | |||
<td> ...</td> | |||
</tr> | |||
<tr> | |||
<td width=20%> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>result code for item #n (see list above)</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Example SNAC dump with flap header: | |||
<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> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 92 34 00 0C 00 13 00 0E 80 00 00 04 00 08 *..4............ | |||
00 00 .......... | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:With_Contrib]] | |||
== FEEDBAG SNACs == | == FEEDBAG SNACs == |
Latest revision as of 05:13, 13 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 |
---|---|---|---|---|---|---|
0x0013, 0x000E | Host | FEEDBAG__STATUS | Unspecified | BOS | Active | 4.0 |
These are the results of one of the insert/update/delete item SNACs from above.
SNAC Header
Foodgroup | uint16 (word) | 00 13 |
Subgroup | uint16 (word) | 00 0E |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
There will be a status code for each of the items in the original SNAC.
Length | Description |
---|---|
4 bytes | Snac Request ID (this is the same as the request ID of the add/mod/del SNAC for which this is the ack) |
2 bytes | 0x0006 (if SSI family is greater than 1 and SNAC flags&0x8000) |
2 bytes | 0x0001 (if SSI family is greater than 1 and SNAC flags&0x8000) |
2 bytes | 0x0002 (if SSI family is greater than 1 and SNAC flags&0x8000) |
2 bytes | 0x0002 (if SSI family is greater than 1 and SNAC flags&0x8000) |
2 bytes |
Flags:
|
Name | Type | Notes |
---|---|---|
statuses | Rest of SNAC array of uint16 (word) | [Class: FEEDBAG__STATUS_CODES] Results of the operation; one for each item in original SNAC |
Class: FEEDBAG__STATUS_CODES
These are the status codes returned from database operations.
Name | Value | Notes |
---|---|---|
FEEDBAG__STATUS_CODES_SUCCESS | 0x00 | Success |
FEEDBAG__STATUS_CODES_DB_ERROR | 0x01 | Some kind of database error |
FEEDBAG__STATUS_CODES_NOT_FOUND | 0x02 | Item was not found for an update or delete |
FEEDBAG__STATUS_CODES_ALREADY_EXISTS | 0x03 | Item already exists for an insert |
FEEDBAG__STATUS_CODES_UNAVAILABLE | 0x05 | Server or database is not available |
FEEDBAG__STATUS_CODES_BAD_REQUEST | 0x0A | Request was not formed well |
FEEDBAG__STATUS_CODES_DB_TIME_OUT | 0x0B | Database timed out |
FEEDBAG__STATUS_CODES_OVER_ROW_LIMIT | 0x0C | Too many items of this class for an insert |
FEEDBAG__STATUS_CODES_NOT_EXECUTED | 0x0D | Due to other error in same request |
FEEDBAG__STATUS_CODES_AUTH_REQUIRED | 0x0E | Buddy List authorization required |
FEEDBAG__STATUS_CODES_AUTO_AUTH | 0x0F | NOT CURRENTLY DOCUMENTED |
FEEDBAG__STATUS_CODES_BAD_LOGINID | 0x10 | Bad username |
FEEDBAG__STATUS_CODES_OVER_BUDDY_LIMIT | 0x11 | Too many buddies |
FEEDBAG__STATUS_CODES_INSERT_SMART_GROUP | 0x14 | Attempt to added a Buddy to a smart group |
FEEDBAG__STATUS_CODES_TIMEOUT | 0x1A | General timeout |
From Aleksandr Shutko: SNAC(13,0E) FEEDBAG__STATUS
|
Example SNAC dump with flap header:
|
FEEDBAG SNACs
|