Difference between revisions of "Protocols/OSCAR/SNAC/FEEDBAG REPLY"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
| Most recent update time of any item in the Feedbag | | Most recent update time of any item in the Feedbag | ||
|} | |} | ||
+ | |||
+ | === From Aleksandr Shutko: SNAC(13,06) server roster reply SNAC(13,06) FEEDBAG__REPLY === | ||
+ | |||
+ | <table width=640 cellSpacing=0 cellPadding=0 border=0> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <br> | ||
+ | This is the server reply to client roster requests: | ||
+ | [[Protocols/OSCAR/SNAC_13_04|SNAC(13,04)]], [[Protocols/OSCAR/SNAC_13_05|SNAC(13,05)]].<br><br> | ||
+ | Server can split up the roster in several parts. This is indicated with SNAC flags bit 1 | ||
+ | as usual, however the "SSI list last change time" only exists in the last packet. | ||
+ | And the "Number of items" field indicates the number of items in the current | ||
+ | packet, not the entire list. | ||
+ | <br><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 06</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%> 00</td> | ||
+ | <td width=5> </td> | ||
+ | <td>byte</td> | ||
+ | <td width=5> </td> | ||
+ | <td width=60%>Version number of SSI protocol (currently 0x00)</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> xx xx</td> | ||
+ | <td width=5> </td> | ||
+ | <td>word</td> | ||
+ | <td width=5> </td> | ||
+ | <td width=60%>Number of items in this snac</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td width=20%> xx ..</td> | ||
+ | <td width=5> </td> | ||
+ | <td>struct</td> | ||
+ | <td width=5> </td> | ||
+ | <td width=60%>list of [[Protocols/OSCAR/Foodgroups/FEEDBAG/Items|items]]</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td width=20%> xx xx xx xx</td> | ||
+ | <td width=5> </td> | ||
+ | <td>dword</td> | ||
+ | <td width=5> </td> | ||
+ | <td width=60%>ssi list last change time</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 C1 12 00 E1 00 13 00 06 00 00 00 00 00 0d *....?.......... | ||
+ | 00 00 08 00 07 36 32 31 38 38 39 37 0A 1E 43 18 .....6218897..C. | ||
+ | 00 00 00 0A 01 31 00 06 46 75 6E 42 6F 6F 00 09 .....1..FunBoo.. | ||
+ | 31 37 36 33 33 33 30 37 38 17 B7 2A 18 00 00 00 176333078..*.... | ||
+ | 09 01 31 00 05 45 2E 53 2E 56 00 07 36 32 31 38 ..1..E.S.V..6218 | ||
+ | 38 39 38 23 8C 12 A1 00 00 00 09 01 31 00 05 74 898#........1..t | ||
+ | 68 6F 72 64 00 07 46 72 69 65 6E 64 73 7F ED 00 hord..Friends... | ||
+ | 00 00 01 00 00 00 0A 43 6F 2D 57 6F 72 6B 65 72 .......Co-Worker | ||
+ | 73 55 7F 00 00 00 01 00 00 00 07 36 32 31 38 38 sU.........62188 | ||
+ | 39 35 23 8C 08 80 00 00 00 0D 01 31 00 09 52 65 95#........1..Re | ||
+ | 67 72 65 73 73 6F 72 00 07 36 32 35 31 37 32 33 gressor..6251723 | ||
+ | 23 8C 05 83 00 00 00 0D 01 31 00 05 47 68 6F 73 #........1..Ghos | ||
+ | 74 00 66 00 00 00 07 36 32 31 33 39 34 39 23 8C t.f....6213949#. | ||
+ | 26 9A 00 00 00 0D 01 31 00 05 6D 69 63 6B 79 00 &......1..micky. | ||
+ | 66 00 00 3B B7 4B 7D f..;.K} | ||
+ | |||
+ | </pre></font> | ||
+ | </td></tr></table> | ||
+ | </td></tr></table> | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:With_Contrib]] | ||
+ | |||
== FEEDBAG SNACs == | == FEEDBAG SNACs == |
Latest revision as of 06:47, 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, 0x0006 | Host | FEEDBAG__REPLY | Unspecified | BOS | Active | 4.0 |
This is the reply to FEEDBAG_QUERY.
A client will need to handle receiving multiple replies since a Feedbag might not fit in one SNAC, or the server might choose to break it up.
Contents
SNAC Header
Foodgroup | uint16 (word) | 00 13 |
Subgroup | uint16 (word) | 00 06 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Name | Type | Notes |
---|---|---|
numClasses | uint8 (byte) | Always 0 |
numItems | uint16 (word) | Number of items in the Feedbag |
items | Array of FEEDBAG Item length numItems | Actual items inside the users Buddy List |
lastUpdate | t70 | Most recent update time of any item in the Feedbag |
From Aleksandr Shutko: SNAC(13,06) server roster reply SNAC(13,06) FEEDBAG__REPLY
|
Example SNAC dump with flap header:
|
FEEDBAG SNACs
|