Protocols/OSCAR/SNAC/CHAT NAV NAV INFO

From NINA Wiki
Revision as of 06:23, 13 February 2021 by AD (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
0x000D, 0x0009 Host CHAT_NAV__NAV_INFO Unspecified CHAT Active 1.8

Navigation information response for requested information.

SNAC Header

Foodgroup uint16 (word) 00 0D
Subgroup uint16 (word) 00 09
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

From Aleksandr Shutko: SNAC(0D,09) chat information response

SNAC(0D,09)  CHAT_NAV__NAV_INFO 


Chat information response.

 00 0D   word   SNAC family
 00 09   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(0x01) - redirect
 xx xx   word   TLV.Length
        ?
 00 02   word   TLV.Type(0x02) - max concurrent rooms
 xx xx   word   TLV.Length
        ?
 00 03   word   TLV.Type(0x03) - exchange info
 xx xx   word   TLV.Length
 xx xx   word   identifier
 xx xx   word   number of following description tlvs
 Contains TLV sequence from the following list
 00 04   word   TLV.Type(0x04) - room info
 xx xx   word   TLV.Length
 xx xx   word   exchange
 xx   byte   cookie length
 xx ..   array   cookie
 xx xx   word   instance number
 xx   byte   detail level
 xx xx   word   number of following description tlvs
 Contains TLV sequence from the following list


Example SNAC dump with flap header:


  No example


CHAT_NAV SNACs

SNAC List
Subgroup Origin Name
0x0001 Any CHAT_NAV__ERR
This is the error SNAC for the CHAT_NAV foodgroup.
0x0002 Client CHAT_NAV__REQUEST_CHAT_RIGHTS
Request client chat rights and limits.
0x0003 Client CHAT_NAV__REQUEST_EXCHANGE_INFO
Request chat exchange information.
0x0004 Client CHAT_NAV__REQUEST_ROOM_INFO
Request room information.
0x0005 Client CHAT_NAV__REQUEST_MORE_ROOM_INFO
Request extended room information.
0x0006 Client CHAT_NAV__REQUEST_OCCUPANT_LIST
Request occupant list of other users in the chat.
0x0007 Client CHAT_NAV__SEARCH_FOR_ROOM
Search for a specific room in a given public exchange.
0x0008 Client CHAT_NAV__CREATE_ROOM
Create room instance.
0x0009 Host CHAT_NAV__NAV_INFO
Navigation information response for requested information.