msnp-wiki/docs/versions/msnp2.md

2.6 KiB

MSNP2 is the first released version of the Mobile Status Notification Protocol. It was introduced officially in Client Version 1.0.0863, along with CVR0.

It introduces the dispatch service commands:

  • INF
  • OUT
  • USR
  • VER
  • XFR

It introduces the notification service commands:

  • ADD
  • BLP
  • CHG
  • CVR (not in draft)
  • FND (not in draft)
  • FLN
  • GTC
  • INF
  • ILN
  • LST
  • MSG
  • NLN
  • OUT
  • PNG (not in draft)
  • QNG (not in draft)
  • REA (not in draft)
  • REM
  • RNG
  • SND (not in draft)
  • SYN
  • URL (not in draft)
  • USR
  • VER
  • XFR

It introduces the switchboard service commands:

  • ACK
  • ANS
  • BYE
  • CAL
  • IRO
  • JOI
  • MSG
  • NAK
  • OUT
  • USR

It introduces the error codes:

  • 100 (not in draft)
  • 146 (not in draft)
  • 200
  • 201
  • 205
  • 206
  • 207
  • 208 (draft only)
  • 209
  • 210
  • 211 (not in draft)
  • 215 (draft only)
  • 216
  • 218
  • 219
  • 280
  • 281
  • 300
  • 302
  • 500
  • 501 (draft only)
  • 503 (not in draft)
  • 510
  • 520
  • 600
  • 601
  • 602 (draft only)
  • 603 (draft only)
  • 604 (draft only)
  • 707
  • 711 (draft only)
  • 712
  • 713
  • 714
  • 715 (draft only)
  • 717 (draft only)
  • 911
  • 912 (not in draft)
  • 913 (draft only)
  • 914 (not in draft)
  • 918 (not in draft)
  • 919 (not in draft)
  • 920

No commands were known to be removed in this version

Known changes (from Beta 2):

  • Dispatch servers now go through the normal user proceedure until USR x MD5 I.

Client-server communication example:

C: VER 1 MSNP2 CVR0
S: VER 1 MSNP2
C: INF 2
S: INF 2 MD5
C: USR 3 MD5 I example@hotmail.com
S: XFR 3 NS 10.0.0.5:1863

Client disconnects from server

Client opens a connection to 10.0.0.5:1863

C: VER 4 MSNP2 CVR0
S: VER 4 MSNP2
C: INF 5
S: INF 5 MD5
C: USR 6 MD5 I example@hotmail.com
S: USR 6 MD5 S prefix
C: USR 7 MD5 S $md5(prefix + password)
S: USR 7 OK example@hotmail.com example%40hotmail.com
S: MSG Hotmail Hotmail 95
MIME-Version: 1.0
Content-Type: text/x-msmsgsprofile; charset=UTF-8
LoginTime: 1726321960

C: SYN 8 0
S: SYN 8 1
S: GTC 8 1 A
S: BLP 8 1 AL
S: LST 8 FL 1 0 0
S: LST 8 AL 1 0 0
S: LST 8 BL 1 0 0
S: LST 8 RL 1 0 0
C: CHG 9 NLN
S: CHG 9 NLN
C: ADD 10 AL anotheruser@hotmail.com anotheruser%40hotmail.com
S: ADD 10 AL 2 anotheruser@hotmail.com anotheruser%40hotmail.com
C: ADD 11 FL anotheruser@hotmail.com anotheruser%40hotmail.com
S: ADD 11 FL 3 anotheruser@hotmail.com anotheruser%40hotmail.com
S: NLN NLN anotheruser@hotmail.com another%20user
C: REA 12 anotheruser@hotmail.com another%20user
S: REA 12 4 anotheruser@hotmail.com another%20user
C: REA 13 example@hotmail.com example%20user
S: REA 13 5 example@hotmail.com example%20user
C: OUT

Client disconnects from server

S: OUT

Server disconnects client