Protocols/OSCAR/SNAC/ICBM PARAMETER QUERY: 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/ICBM__PARAMETER_QUERY/Origin}} |name=ICBM__PARAMETER_QUERY |id=0x0004, 0x0004 |service={{Protoc...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:


{{Protocols/OSCAR/SNAC/ICBM__PARAMETER_QUERY/Description}}
{{Protocols/OSCAR/SNAC/ICBM__PARAMETER_QUERY/Description}}
This is typically used prior to sending the [[Protocols/OSCAR/SNAC/OSERVICE__CLIENT_ONLINE|OSERVICE__CLIENT_ONLINE]] in order to determine the default parameter settings for all channels. It is not required.


=== SNAC Header ===
=== SNAC Header ===
Line 18: Line 20:


=== SNAC Data ===
=== SNAC Data ===
Unconfirmed: This SNAC contains no data
''This SNAC has no fields and is always empty.''
 
=== From Aleksandr Shutko: SNAC(04,04) request own icbm parameters ===
 
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td  bgcolor=#4040FF >
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr>
<td><b><font color="white">SNAC(04,04)&nbsp;</font></b></td>
<td width=70% align=right><b><font color="white">ICBM__PARAMETER_QUERY &nbsp;</font></b>
</td></tr></table>
</td></tr></table>
</td></tr></table>
 
<table width=640 cellSpacing=0 cellPadding=0 border=0><tr><td><br>
Use this snac to request your icbm parameters from server. Server should reply via
[[Protocols/OSCAR/SNAC_04_05|SNAC(04,05)]]. You can change them using
[[Protocols/OSCAR/SNAC_04_02|SNAC(04,02)]].<br><br>
 
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td  bgcolor=#E9E9E9 >
 
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=169>&nbsp;00 04</td>
<td width=5>&nbsp;</td>
<td>word</td>
<td width=5>&nbsp;</td>
<td width=55%>SNAC family</td>
</tr>
<tr>
<td>&nbsp;00 04</td>
<td>&nbsp;</td>
<td>word</td>
<td>&nbsp;</td>
<td>SNAC subtype</td>
</tr>
<tr>
<td>&nbsp;00 00</td>
<td>&nbsp;</td>
<td>word</td>
<td>&nbsp;</td>
<td>SNAC flags</td>
</tr>
<tr>
<td>&nbsp;xx xx xx xx</td>
<td>&nbsp;</td>
<td>dword</td>
<td>&nbsp;</td>
<td>SNAC request-id</td>
</tr>
</table>
 
</td></tr>
<tr><td bgcolor=#E9E9E9>
 
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=169>&nbsp;empty (no snac data)</td>
<td width=5>&nbsp;</td>
<td>&nbsp;</td>
<td width=5>&nbsp;</td>
<td width=55%>&nbsp;</td>
</tr>
</table>
 
</td></tr></table>
</td></tr></table>
</td></tr></table>
 
<br>Example SNAC dump with flap header:
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr>
<td bgcolor=#E9E9E9>
<font size=3><pre style="font-size: 13px">
 
  2A 02 33 6F 00 0A 00 04  00 04 00 00 00 00 00 04 *.3o............
 
</pre></font>
</td></tr></table>
</td></tr></table>
 
 
 
 


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


[[Category:With_Contrib]]
[[Category:Stub]]
[[Category:Stub]]
[[Category:AOL]]
[[Category:AOL]]

Latest revision as of 04:40, 13 February 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
0x0004, 0x0004 Client ICBM__PARAMETER_QUERY Unspecified BOS Active 1.25

This SNAC requests ICBM parameters from the host.

This is typically used prior to sending the OSERVICE__CLIENT_ONLINE in order to determine the default parameter settings for all channels. It is not required.

SNAC Header

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

SNAC Data

This SNAC has no fields and is always empty.

From Aleksandr Shutko: SNAC(04,04) request own icbm parameters

SNAC(04,04)  ICBM__PARAMETER_QUERY  

Use this snac to request your icbm parameters from server. Server should reply via SNAC(04,05). You can change them using SNAC(04,02).

 00 04   word   SNAC family
 00 04   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 empty (no snac data)        


Example SNAC dump with flap header:


  2A 02 33 6F 00 0A 00 04  00 04 00 00 00 00 00 04 *.3o............



ICBM SNACs

SNAC List
Subgroup Origin Name
0x0001 Any ICBM__ERR
This is the error SNAC for the ICBM foodgroup.
0x0002 Client ICBM__ADD_PARAMETERS
This SNAC is typically sent prior to sending the OSERVICE__CLIENT_ONLINE so that the host is properly initialized with the clients' preferences.
0x0003 Client ICBM__DEL_PARAMETERS
These are the delete all parameters for a given channel.
0x0004 Client ICBM__PARAMETER_QUERY
This SNAC requests ICBM parameters from the host.
0x0005 Host ICBM__PARAMETER_REPLY
This SNAC is sent by the host in response to a ICBM__PARAMETER_QUERY.
0x0006 Client ICBM__CHANNEL_MSG_TOHOST
This is the basic inter-client message after which the group was named (Inter-Client Basic Messages).
0x0007 Host ICBM__CHANNEL_MSG_TOCLIENT
This is the ICBM__CHANNEL_MSG_TOHOST after it has been reformatted by the host and sent to the destination client.
0x0008 Client ICBM__EVIL_REQUEST
This requests that the specified user is sent an EVIL notification.
0x0009 Host ICBM__EVIL_REPLY
The reply tells the requester, the sender of an ICBM__EVIL_REQUEST SNAC, how much EVIL, if any, was applied to the recipient.
0x000A Host ICBM__MISSED_CALLS
When the host is unable to send one or more messages to the client, the host sends this SNAC to the client to let it know that it missed some messages ("calls").
0x000B Any ICBM__CLIENT_ERR
This error notice is one of the few SNACs that can be sent to the host and received by a client.
0x000C Host ICBM__HOST_ACK
This SNAC is sent by the host upon receipt of any ICBM__CHANNEL_MSG_TOHOST which includes the optional ICBM__TLV_TAGS_REQUEST_HOST_ACK TLV.
0x000D NCD ICBM__SIN_STORED
This is not currently documented. Want to contribute?
0x000E NCD ICBM__SIN_LIST_QUERY
This is not currently documented. Want to contribute?
0x000F NCD ICBM__SIN_LIST_REPLY
This is not currently documented. Want to contribute?
0x0010 Client ICBM__SIN_RETRIEVE
This requests ICBM__CHANNEL_MSG_TOCLIENT messages be generated for each of the stored ICBMs. Any message retrieved is deleted.
0x0011 NCD ICBM__SIN_DELETE
This is not currently documented. Want to contribute?
0x0012 NCD ICBM__NOTIFY_REQUEST
This is not currently documented. Want to contribute?
0x0013 NCD ICBM__NOTIFY_REPLY
This is not currently documented. Want to contribute?
0x0014 Any ICBM__CLIENT_EVENT
This SNAC is sent as a control message, sent by a client to inform the recipient of an event, or by the host informing of an event.
0x0017 Host ICBM__SIN_REPLY
The host successfully processed the request to retrieve all the offline messages.