Msnp10 protocol analysis 03. status [by progsoft]

Source: Internet
Author: User

First, an example of changing the user status is provided.
>>> Chg 9 NLN 805306412% 3 cmsnobj % 20 creator % 3d % 22 example % 40hotmail.com % 22% 20 size % 3d % 2224049% 22% 20 Type % 3d % 223% 20 LOCATION % 3d % 22tfrc79. dat % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22s4gurfdfe5d2% 2fhwjc86et8yippe % 3d % 22% 20sha1c % 3d % %2bm4t % 2fh4% 3d % 22% 2f % 3E /R/n
<Chg 9 NLN 805306412% 3 cmsnobj % 20 creator % 3d % 22 example % 40hotmail.com % 22% 20 size % 3d % 2224049% 22% 20 Type % 3d % 223% 20 LOCATION % 3d % 22tfrc79. dat % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22s4gurfdfe5d2% 2fhwjc86et8yippe % 3d % 22% 20sha1c % 3d % %2bm4t % 2fh4% 3d % 22% 2f % 3E /R/n
<Iln 9 NLN user02@hotmail.com user02_nickname 536870948% bytes % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22zim5 + 8obksdriutjtcc2% 2fd % 2f % 2 fqtg % 3d % 22% 20sha1c % 3d % 22obsnvql507fupzwillmjnv2 + fig % 3d % 22% 2f % 3E/R/n
<Iln 9 NLN user04@hotmail.com user04_nickname 0/R/n

After a rest, we have successfully changed the user status and obtained the friend status ~~~!

Here is a description.

This operation changes the user's status.
Client sending >>> chg 9 NLN 805306412% 3 cmsnobj % 20 creator % 3d % 22 example % 40hotmail.com % 22% 20 size % 3d % 2224049% 22% 20 Type % 3d % 223% 20 LOCATION % 3D % 22tfrc79. dat % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22s4gurfdfe5d2% 2fhwjc86et8yippe % 3d % 22% 20sha1c % 3d % %2bm4t % 2fh4% 3d % 22% 2f % 3E /R/n
Server Response <chg 9 NLN 805306412% 3 cmsnobj % 20 creator % 3d % 22 example % 40hotmail.com % 22% 20 size % 3d % 2224049% 22% 20 Type % 3d % 223% 20 LOCATION % 3D % 22tfrc79. dat % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22s4gurfdfe5d2% 2fhwjc86et8yippe % 3d % 22% 20sha1c % 3d % %2bm4t % 2fh4% 3d % 22% 2f % 3E /R/n

Syntax structure:
Chg <SP> trid <SP> status variable <SP> client variable <SP> msnobj <CRLF>
Chg indicates that the command is to change the user status
Status variable
There are 7 types
NLN-Online)
BSY-busy (busy)
BRB-be right back)
Awy-exit)
PHN-on the phone)
Lun-out to lunch)
FLN-offline)
HDN-stealth (hide)

Client Variables
1-The client runs in the mobile operating system
2-unknown meaning
4-The client supports receiving ink messages
8-The client supports sending and receiving ink messages
16-Client Support for video conferencing
32-unknown, but must be selected
64-the client has a MSN mobile device you can page them on. This is equivalent to the mob value in the principal's BPR list, and nothing to do with Windows Mobile.
128-the client has an MSN direct device you can direct-page them on. This is equivalent to the WWE value in the principal's BPR list.
268435456-client support protocol msnc1
536870912-client support protocol msnc2

For example, 805306412 = 536870912 + 268435456 + 32 + 8 + 4 supports sending and receiving msnc1, msnc2, and ink messages.

Msnobj
It is used to display personalized pictures of users.

Server Response <iln 9 NLN user02@hotmail.com user02_nickname 536870948% bytes % 22% 20 friendly % 3d % 22aaa % 3d % 22% 20sha1d % 3d % 22zim5 + 8obksdriutjtcc2% 2fd % 2f % 2 fqtg % 3d % 22% 20sha1c % 3d % 22obsnvql507fupzwillmjnv2 + fig % 3d % 22% 2f % 3E/R/n
Server Response <iln 9 NLN user04@hotmail.com user04_nickname 0/R/n

Syntax structure:
Iln <SP> trid <SP> status variable <SP> friend passport <SP> friend nickname <SP> friend client variable [<SP> msnobj] <CRLF>
Iln indicates that the command is in the current user status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.