Protocols/OSCAR/SNAC/ICQ DB REPLY/RESP INFORMATION/XML DATA: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
(Created page with " {{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ICQ__DB_REPLY/Origin}} |name=ICQ__DB_REPLY |id=0x0015, 0x0003 |foodgroup=ICQ |service={{Proto...")
 
(No difference)

Latest revision as of 09:52, 14 February 2021


OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
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
0x0015, 0x0003 Host ICQ__DB_REPLY ICQ BOS Active 1.2

From Aleksandr Shutko: SNAC(15,03)/07DA/00EB META_XML_INFO


Various information requested by client (via SNAC(15,02)/07D0/0898) from server. If success byte doesn't equal 0x0A - it is last SNAC byte and this mean "no data found".

 00 15   word   SNAC family
 00 03   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 DA 07   word (LE)   data type: META_DATA
 02 00   word (LE)   request sequence number
 A2 08   word (LE)   data subtype: META_XML_INFO
 0A   char   success byte
 
 xx xx   word (LE)   xml string length
 xx .. xx 00   asciiz str   xml string


Example SNAC dump with flap header:


  2A 02 3E 26 00 58 00 15 00 03 00 00 00 06 00 02 *.>&.X..........
  00 01 00 4A 48 00 8F E4 5E 00 DA 07 07 00 A2 08 ...JH...^.......
  0A 3B 00 3C 76 61 6C 75 65 3E 68 74 74 70 3A 2F .;.<value>http:/
  2F 32 30 35 2E 31 38 38 2E 32 35 30 2E 32 35 2F /205.188.250.25/
  63 62 2F 25 64 2F 64 61 74 61 66 69 6C 65 73 2F cb/%d/datafiles/
  25 73 2E 63 62 3C 2F 76 61 6C 75 65 3E 00       %s.cb</value>.