Protocols/MSNP/MSNP16/Changes: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
m (Add SLP Changes (P2Pv2))
 
m (1 revision imported)
(No difference)

Revision as of 00:23, 29 May 2020

MSN Protocol Version 16

Changed commands

Presence commands (NLN/FLN)

The networkid is now sent with the email address, separated by a colon. The capabilities of a client are now sent along with the

 NLN status networkid:email nickname capab:capabex dpobj
 FLN networkid:email capab:capabex

capab: client capabilities; capabex: extended client capabilities; dpobj: display picture object

UUX/UBX

UUX/UBX now includes endpoint data (note: there are no newlines in the XML, it's exploded only for easier view).

UBX buddy@domain.tld 1 payloadsize\r\n

 <PSM>Hello World</PSM>
 <CurrentMedia></CurrentMedia>
 <MachineGuid>machineguid</MachineGuid>
 <DDP></DDP>
 <EndpointData id="{machineguid}">
  <Capabilities>capabilities:extendedcapabilities</Capabilities>
 </EndpointData>

If a client is logged on at multiple places, multiple EndpointData nodes will be present. It's possible for two endpoints to have different capabilities.

CHG

This command not longer send the objDescriptor

CHG TrId statuscode capab:capabex MsnObj\r\n

USR/ANS

When talking with Switchboard server we need to know the MachineGuid info

USR TrId email;{MachineGuid} token
ANS TrId email;{MachineGuid} token SessionId

Initial profile download

When the NS initally sends the profile of the user, there's a field called MPOPEnabled, indicating the MPOP status.

...
ClientIP: ip
ClientPort: port
ABCHMigrated: 0 or 1
Nickname: something
MPOPEnabled: 0 or 1

New commands

NFY

TODO

PUT

TODO

SLP

The binary headers now uses the P2Pv2 headers Protocols/MSNP/MSNC/P2Pv2_Headers


Client Capacities