Difference between revisions of "Protocols/OSCAR/SNAC/ICQ DB REPLY"

From NINA Wiki
Jump to navigation Jump to search
(SNAC Data)
Line 4: Line 4:
 
|name=ICQ__DB_REPLY
 
|name=ICQ__DB_REPLY
 
|id=0x0015, 0x0003
 
|id=0x0015, 0x0003
 +
|foodgroup=ICQ
 
|service={{Protocols/OSCAR/Foodgroups/ICQ/Service}}
 
|service={{Protocols/OSCAR/Foodgroups/ICQ/Service}}
 
|status={{Protocols/OSCAR/Foodgroups/ICQ/Status}}
 
|status={{Protocols/OSCAR/Foodgroups/ICQ/Status}}

Revision as of 04:20, 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

Host information response to ICQ__DB_QUERY.

SNAC Header

Foodgroup uint16 (word) 00 15
Subgroup uint16 (word) 00 03
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

Length Description
2 bytes Type - 0x0001
2 bytes Length L of the following
L bytes DATA

DATA

All information for this SNAC is in the value of this TLV, and the information is given in network byte order.

Length Description
2 bytes Command length. This is L-2
4 bytes The destination UIN (us)
2 bytes Command. This actually tells what the rest of the SNAC contains. You decide how to read in the rest of it based on what command it is.
2 bytes Request ID

If command is 0x0041, then this is an offline message.

Length Description
4 bytes The originating UIN (them)
2 bytes The year the message was sent
1 byte The month the message was sent
1 byte The day the message was sent
1 byte The hour the message was sent
1 byte The minute the message was sent
2 bytes The type of message
2 bytes Length L of the following
L bytes The actual message

ICQ SNACs

SNAC List
Subgroup Origin Name
0x0001 Any ICQ__ERR
This is the error SNAC for the ICQ foodgroup.
0x0002 Client ICQ__DB_QUERY
Information request used by legacy ICQ clients.
0x0003 Host ICQ__DB_REPLY
Host information response to ICQ__DB_QUERY.