Protocols/OSCAR/SNAC/ODIR INFO QUERY

From NINA Wiki
(Redirected from Protocols/OSCAR/SNAC 0F 02)
Jump to navigation Jump to search
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
0x000F, 0x0002 Client ODIR__INFO_QUERY Unspecified BOS Active 1.8

Client request to search for user.

SNAC Header

Foodgroup uint16 (word) 00 0F
Subgroup uint16 (word) 00 02
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

Type Length Value
0x0001 n bytes The first name of the person you want to search for.
0x0002 n bytes The last name of the person you want to search for.
0x0003 n bytes The middle name of the person you want to search for.
0x0004 n bytes The maiden name of the person you want to search for.
0x0005 n bytes The email address you want to search for.
0x0006 n bytes The country where the person you want to search for resides.
0x0007 n bytes The state where the person you want to search for resides.
0x0008 n bytes The city where the person you want to search for resides.
0x0009 n bytes The screen name of the person you want to search for.
0x000a 2 bytes I think this is the type of search you're doing. 0x0000 for "search by name and other stuff." 0x0001 for "search by email address" or "search by interest."
0x000b n bytes The interest of the person you want to search for.
0x000c n bytes The nick name of the person you want to search for.
0x000d n bytes The zip code where the person you want to search for resides.
0x001c n bytes Region encoding thing. For me this is 8 bytes, and contains "us-ascii"
0x0021 n bytes The street address where the person you want to search for resides.

ODIR SNACs

SNAC List
Subgroup Origin Name
0x0001 Any ODIR__ERR
This is the error SNAC for the ODIR foodgroup.
0x0002 Client ODIR__INFO_QUERY
Client request to search for user.
0x0003 Host ODIR__INFO_REPLY
Host response to ODIR__INFO_QUERY with list of found users or error code and/or URL.
0x0004 Client ODIR__KEYWORD_LIST_QUERY
Request a list of keywords, or interests, associated with user.
0x0005 Host ODIR__KEYWORD_LIST_REPLY
Host response to ODIR__KEYWORD_LIST_QUERY with list or error code and/or URL.