Protocols/MSNP/Commands/SBP
MSNP Protocol |
Introduction • Terms • Clients |
Reference |
Error List • Commands • Relying Party Suite • Spotlife |
Services |
XMPP • HTTP Gateway • Tabs • Activities |
Documentation |
Development Tools • MSNP Grid |
Polygamy • URLs used by MSN |
Documents |
Protocol Versions |
Version 21 |
Version 18 |
Version 16 |
Version 15 |
Version 14 |
Version 13 |
Version 12 |
Version 11 |
Version 9 |
Version 8 |
Version 2 |
MSNC |
Introduction • P2P • Object Descriptor • Display Pictures • File Transfer |
Scenarios |
Microsoft Messenger for Mac |
MSNP on WebTV (MSNTV) |
SBP
The SBP command is used to update your copy of a buddy's detail.
MSNP11 - MSNP12
The official client (even older ones that doesn't support contact renaming) use this command when it ecounters a new friendly name for a buddy in NLN or ILN. It's not required to use this command, but if you don't use it, you'll be receiving the old the friendly name for the buddy when synchronizing. One can also use this command to rename buddies to arbitrary names.
SBP <TrID> <Contact's GUID> <Setting> <URL-Encoded Value>\r\n
<Setting> should be MFN for changing the contact's friendly name.
>>> SBP 20 12345678-aabb-5678-1234-a72f38da3c10 MFN John%20Smith\r\n
The server will echo the command back upon success.
<<< SBP 20 12345678-aabb-5678-1234-a72f38da3c10 MFN John%20Smith\r\n
It is not confirmed whether <Setting> can take other values than MFN.
MSNP13 and above
The command is deprecated, as the NS no longer does the address book synchronization (you do it instead). Usage results in immediate disconnection.