2024-10-11 15:40:21 -04:00
|
|
|
# Introduction
|
2024-12-18 15:16:29 -05:00
|
|
|
MSNP5 is the fourth released version of the Mobile Status Notification Protocol.
|
2024-10-10 15:38:51 -04:00
|
|
|
It was introduced officially in Client Version 3.0.0283.
|
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Command information
|
2024-10-10 15:38:51 -04:00
|
|
|
It introduces the notification service commands:
|
2024-10-15 13:14:20 -04:00
|
|
|
* [BPR](../commands/bpr.md)
|
2024-10-26 06:56:17 -04:00
|
|
|
* [NOT](../commands/not.md)
|
2024-10-21 17:31:11 -04:00
|
|
|
* [PAG](../commands/pag.md)
|
2024-10-15 13:14:20 -04:00
|
|
|
* [PRP](../commands/prp.md)
|
2024-10-21 12:30:22 -04:00
|
|
|
* [SDC](../commands/sdc.md)
|
2024-10-10 15:38:51 -04:00
|
|
|
|
|
|
|
*No switchboard or dispatch service commands were known to be introduced in this version*
|
|
|
|
|
|
|
|
*No commands were known to be removed in this version*
|
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Known changes
|
|
|
|
(from [MSNP4](msnp4.md)):
|
2024-10-23 16:47:02 -04:00
|
|
|
* [BPR](../commands/bpr.md) and [PRP](../commands/prp.md) have been added to [SYN](../commands/syn.md).
|
2024-11-19 15:23:28 -05:00
|
|
|
* [`<NOTIFICATION>`](../files/notification.md) documents are handled by the client with the new [NOT](../commands/not.md) payload command.
|
2024-10-11 15:40:21 -04:00
|
|
|
* Non-protocol: Official website stopped updating the whatsnew.asp page between this (MSNP5) and [MSNP7](msnp7.md).
|
2024-10-10 15:38:51 -04:00
|
|
|
* Official Client: Introduced the toast notification system. Notifications can now stack vertically.
|
|
|
|
* Official Client: Log in notifications are now handled by the newly introduced toast system.
|
|
|
|
* Official Client: Introduced emoticons.
|
|
|
|
* Official Client: Introduced File Transfer and Messenger-to-Messenger calling via invitations.
|
2024-11-30 12:02:48 -05:00
|
|
|
* Introduced first payload commands ([SDC](../commands/sdc.md), [PAG](../commands/pag.md)) to be sent to the Notification Server from the client.
|
|
|
|
* Official Client: [FND](../commands/fnd.md) functionality changed slightly(?) to say that the Passport privacy policy
|
2024-10-13 17:03:57 -04:00
|
|
|
doesn't allow users to retrieve the e-mails assocated with the user's account,
|
2024-10-21 12:30:22 -04:00
|
|
|
sending the user to a invitation screen with, with it ending in sending an [SDC](../commands/sdc.md) in the format of
|
2024-10-13 17:03:57 -04:00
|
|
|
`SDC TrID {FND index} 0x0409 MSMSGS MSMSGS X X example%20user {length}`.
|
|
|
|
The `0x0409` can be changed to any language code, with the `length` denoting the payload if specified.
|
2024-10-16 16:12:41 -04:00
|
|
|
* Official Client: [URL](../commands/url.md) without the Passport Site ID (parameter 3) support has been removed.
|
|
|
|
* Official Client: Added new [URL](../commands/url.md) services `MOBILE` and `CHGMOB` .
|
2024-10-24 10:17:51 -04:00
|
|
|
* Official Client: Error code 924 has been shadow-implemented,
|
|
|
|
which when sent as a [USR](../commands/usr.md) response, shows the
|
|
|
|
"Sorry, you can not sign in until your verify that (user handle) really belongs to you" dialog.
|
2024-10-10 15:38:51 -04:00
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Client-server communication example
|
2024-10-10 15:38:51 -04:00
|
|
|
```
|
|
|
|
C: VER 1 MSNP5 MSNP4 CVR0
|
|
|
|
S: VER 1 MSNP5
|
|
|
|
C: INF 2
|
|
|
|
S: INF 2 MD5
|
|
|
|
C: USR 3 MD5 I example@hotmail.com
|
|
|
|
S: XFR 3 NS 10.0.0.5:1863 0
|
|
|
|
```
|
2024-12-18 15:16:29 -05:00
|
|
|
Client disconnects from server.
|
2024-10-10 15:38:51 -04:00
|
|
|
|
2024-12-18 15:16:29 -05:00
|
|
|
Client opens a connection to `10.0.0.5:1863`.
|
2024-10-10 15:38:51 -04:00
|
|
|
```
|
|
|
|
C: VER 4 MSNP5 MSNP4 CVR0
|
|
|
|
S: VER 4 MSNP5
|
|
|
|
C: INF 5
|
|
|
|
S: INF 5 MD5
|
|
|
|
C: USR 6 MD5 I example@hotmail.com
|
|
|
|
S: USR 6 MDS S prefix
|
|
|
|
C: USR 7 MD5 S $md5(prefix + password)
|
|
|
|
S: USR 7 OK example@hotmail.com example%20user
|
2024-10-15 14:08:22 -04:00
|
|
|
S: MSG Hotmail Hotmail 367
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/x-msmsgsprofile; charset=UTF-8
|
|
|
|
LoginTime: 1726321960
|
|
|
|
EmailEnabled: 1
|
|
|
|
MemberIdHigh: 1
|
|
|
|
MemberIdLow: 2
|
|
|
|
lang_preference: 1033
|
|
|
|
PreferredEmail: example@hotmail.com
|
|
|
|
country: US
|
|
|
|
PostalCode:
|
|
|
|
Gender:
|
|
|
|
Kid: 0
|
|
|
|
Age:
|
|
|
|
BDayPre:
|
|
|
|
Birthday:
|
|
|
|
Wallet:
|
|
|
|
Flags: 1027
|
|
|
|
sid: 507
|
|
|
|
kv: 11
|
|
|
|
MSPAuth: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA$$
|
|
|
|
|
2024-10-10 15:38:51 -04:00
|
|
|
C: SYN 8 5
|
|
|
|
S: SYN 8 6
|
|
|
|
S: SYN 8 6
|
|
|
|
S: GTC 8 6 A
|
|
|
|
S: BLP 8 6 AL
|
|
|
|
S: LST 8 FL 6 1 1 anotheruser@hotmail.com another%20user
|
2024-10-15 13:14:20 -04:00
|
|
|
S: BPR 6 anotheruser@hotmail.com PHH 1%20(222)%203333
|
2024-10-10 15:38:51 -04:00
|
|
|
S: BPR 6 anotheruser@hotmail.com PHW
|
|
|
|
S: BPR 6 anotheruser@hotmail.com PHM
|
|
|
|
S: BPR 6 anotheruser@hotmail.com MOB N
|
|
|
|
S: LST 8 AL 6 1 1 anotheruser@hotmail.com another%20user
|
|
|
|
S: LST 8 BL 6 0 0
|
|
|
|
S: LST 8 RL 6 1 1 anotheruser@hotmail.com another%20user
|
|
|
|
C: CHG 9 NLN
|
|
|
|
S: CHG 9 NLN
|
2024-10-26 06:56:17 -04:00
|
|
|
S: NOT 367
|
|
|
|
<NOTIFICATION ver="1" id="2" siteid="0" siteurl="http://example.com/">
|
|
|
|
<TO pid="0x00000001:0x00000002" name="example@hotmail.com" />
|
|
|
|
<MSG id="0">
|
|
|
|
<ACTION url="alert?command=action" />
|
|
|
|
<SUBSCR url="alert?command=change" />
|
|
|
|
<BODY lang="1033" icon="alerticon_32x32.png">
|
|
|
|
<TEXT>This is an example notification.</TEXT>
|
|
|
|
</BODY>
|
|
|
|
</MSG>
|
2024-10-15 14:08:22 -04:00
|
|
|
</NOTIFICATION>
|
2024-10-15 13:14:20 -04:00
|
|
|
C: PRP 10 PHH 123%20(4567)
|
|
|
|
S: PRP 10 7 PHH 123%20(4567)
|
|
|
|
S: BPR 8 anotheruser@hotmail.com PHH 1%20(222)%20333%204444
|
2024-10-10 15:38:51 -04:00
|
|
|
C: OUT
|
|
|
|
```
|
2024-12-18 15:16:29 -05:00
|
|
|
Client disconnects from server.
|
2024-10-10 15:38:51 -04:00
|
|
|
```
|
|
|
|
S: OUT
|
|
|
|
```
|
2024-12-18 15:16:29 -05:00
|
|
|
Server disconnects client.
|