Protocols/OSCAR/SNAC/ADVERT ERR: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ADVERT__ERR/Origin}} |name=ADVERT__ERR |id=0x0005, 0x0001 |service={{Protocols/OSCAR/Foodgroups...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Protocols/OSCAR}}
{{Protocols/OSCAR}}
{{Protocols/OSCAR/SNAC/Stats
{{Protocols/OSCAR/SNAC/Stats
|id=0x0005, 0x0001
|origin={{Protocols/OSCAR/SNAC/ADVERT__ERR/Origin}}
|origin={{Protocols/OSCAR/SNAC/ADVERT__ERR/Origin}}
|name=ADVERT__ERR
|name=ADVERT__ERR
|id=0x0005, 0x0001
|foodgroup=ADVERT
|service={{Protocols/OSCAR/Foodgroups/ADVERT/Service}}
|service={{Protocols/OSCAR/Foodgroups/ADVERT/Service}}
|status={{Protocols/OSCAR/Foodgroups/ADVERT/Status}}
|status={{Protocols/OSCAR/Foodgroups/ADVERT/Status}}
Line 10: Line 11:
{{Protocols/OSCAR/SNAC/ADVERT__ERR/Description}}
{{Protocols/OSCAR/SNAC/ADVERT__ERR/Description}}


=== SNAC Header ===
== SNAC Header ==
{{Protocols/OSCAR/SNAC/Header
{{Protocols/OSCAR/SNAC/Header
|foodgroup=00 05
|foodgroup=00 05
|subgroup=00 01
|subgroup=00 01
|flags=00 00
|flags=00 00}}
|reqid=00 00 00 00}}
 
== SNAC Data ==
Error code is required, however the TLV chain is optional depending on the error code and/or other information the user needs to be provided.


=== SNAC Data ===
{| class="wikitable"
{| class="wikitable"
! Name
! Name
! Type
! Length
! Value
! Note
! Note
|-
|-
| Code
| Code
| uint16 (word)
| uint16 (word)
| ''[Class: [[Protocols/OSCAR/Errors#Class:_ERROR_CODE|ERROR__CODE]]]'' Error code
| xx xx
| ''[Class: [[Protocols/OSCAR/Errors#Class:_ERROR_CODE|ERROR__CODE]]]''
|-
|-
| TLVs
| TLV
| Rest of SNAC array of [[Protocols/OSCAR/TLV|TLV]]
| blob
| ''[Class: [[Protocols/OSCAR/Errors#TLV_Class:_ERROR_TAGS|ERROR__TAGS]]]'' Optional error parameters
| xx ..
| ''[Class: [[Protocols/OSCAR/Errors#TLV_Class:_ERROR_TAGS|ERROR__TAGS]]]''
|}
|}


=== ADVERT SNACs ===
== ADVERT SNACs ==
{{Protocols/OSCAR/Foodgroups/ADVERT/SNACs/Simple}}
{{Protocols/OSCAR/Foodgroups/ADVERT/SNACs/Simple}}


[[Category:Stub]]
[[Category:AOL]]
[[Category:AOL]]
[[Category:AIM]]
[[Category:AIM]]
[[Category:Protocols/OSCAR]]
[[Category:Protocols/OSCAR]]
[[Category:Protocols/OSCAR/SNACs]]
[[Category:Protocols/OSCAR/SNACs]]
[[Category:Work_In_Progress]]
[[Category:Functionally_Complete]]

Latest revision as of 10:33, 21 January 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
0x0005, 0x0001 Any ADVERT__ERR ADVERT ADVERT Active 1.5

This is the error SNAC for the ADVERT foodgroup.

SNAC Header

Foodgroup uint16 (word) 00 05
Subgroup uint16 (word) 00 01
Flags uint16 (word) 00 00
Request ID uint32 (dword) xx xx xx xx

SNAC Data

Error code is required, however the TLV chain is optional depending on the error code and/or other information the user needs to be provided.

Name Length Value Note
Code uint16 (word) xx xx [Class: ERROR__CODE]
TLV blob xx .. [Class: ERROR__TAGS]

SNAC List
Subgroup Origin Name
0x0001 Any ADVERT__ERR
This is the error SNAC for the ADVERT foodgroup.
0x0002 Client ADVERT__ADS_QUERY
Request available advertisements.
0x0003 Host ADVERT__ADS_REPLY
List of ads for display and their corresponding URLs.