ID
|
Origin
|
Name
|
Foodgroup
|
Service
|
Status
|
Version
|
0x0015, 0x0003
|
Host
|
ICQ__DB_REPLY
|
Unspecified
|
BOS
|
Active
|
1.2
|
Host information response to ICQ__DB_QUERY.
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
|
All information for this SNAC is in the value of this TLV, and the information is given in network byte order. {| border="1"
|
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.
{| border="1"
! 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.
|
|