Protocols/OSCAR/SNAC/ALERT NOTIFY

From NINA Wiki
Revision as of 10:19, 23 March 2020 by AD (talk | contribs) (SNAC Data)
(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
0x0018, 0x0007 Host ALERT__NOTIFY Unspecified BOS, ALERT Active 1.139

This is not currently documented.

SNAC Header

Foodgroup uint16 (word) 00 18
Subgroup uint16 (word) 00 07
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

This contains information about your email account, and the webpage you should use to read your mail. An initial one of these is sent after you send the 0x0006 and 0x0016. You also receive one of these SNACs when TLV type 0x0081 changes (so if you previously had no unread mail, and you get a new email, they'll send you these with an updated 0x0081 TLV. Or if you read all your unread mail, they'll send you an updated 0x0081 with value 0x0000. They also send TLVs 0x0007 and 0x0082).

Length Description
2 bytes Family (0x0018)
2 bytes Subtype (0x0007)
2 bytes Flags
4 bytes Snac Request ID
24 bytes Unknown. mid says this is 0 bytes of 0's and then a 16 byte mail cookie
2 bytes Number of TLVs to follow
x bytes TLVs

TLVs

Type Length Value
0x0007 n bytes URL used to access email
0x0080 2 bytes Number of unread emails in inbox
0x0081 1 byte Have unread mail. This is 0x0000 if we do not have unread mail, and 0x0000 if we do
0x0082 n bytes Server name of email address ("netscape.net", "aol.com", etc.)
0x0084 2 bytes Unknown

ALERT SNACs

SNAC List
Subgroup Origin Name
0x0001 Any ALERT__ERR
This is the error SNAC for the ALERT foodgroup.
0x0002 NCD ALERT__SET_ALERT_REQUEST
This is not currently documented.
0x0003 NCD ALERT__SET_ALERT_REPLY
This is not currently documented.
0x0004 NCD ALERT__GET_SUBS_REQUEST
This is not currently documented.
0x0005 NCD ALERT__GET_SUBS_RESPONSE
This is not currently documented.
0x0006 Client ALERT__NOTIFY_CAPABILITIES
This is not currently documented.
0x0007 Host ALERT__NOTIFY
This is not currently documented.
0x0008 NCD ALERT__GET_RULE_REQUEST
This is not currently documented.
0x0009 NCD ALERT__GET_RULE_REPLY
This is not currently documented.
0x000A NCD ALERT__GET_FEED_REQUEST
This is not currently documented.
0x000B NCD ALERT__GET_FEED_REPLY
This is not currently documented.
0x000D NCD ALERT__REFRESH_FEED
This is not currently documented.
0x000E NCD ALERT__EVENT
This is not currently documented.
0x000F NCD ALERT__QOG_SNAC
This is not currently documented.
0x0010 NCD ALERT__REFRESH_FEED_STOCK
This is not currently documented.
0x0011 NCD ALERT__NOTIFY_TRANSPORT
This is not currently documented.
0x0012 NCD ALERT__SET_ALERT_REQUEST_V2
This is not currently documented.
0x0013 NCD ALERT__SET_ALERT_REPLY_V2
This is not currently documented.
0x0014 NCD ALERT__TRANSIT_REPLY
This is not currently documented.
0x0015 NCD ALERT__NOTIFY_ACK
This is not currently documented.
0x0016 Client ALERT__NOTIFY_DISPLAY_CAPABILITIES
This is not currently documented.
0x0017 NCD ALERT__USER_ONLINE
This is not currently documented.