Command:UBX

From MSNPiki

Jump to: navigation, search

Contents

UBX

UBX is the sister command to UUX. UUX is used to set your personal message, UBX is sent by the server to all principles to inform them of the change (where B means Buddy). The format is similar to UUX; they are payload commands where the first parameter is the passport address of the contact who has just changed their personal message or currently playing song, and the second parameter is the length of the payload.

First time seen in version 11, changed in versions: 13 and 14

MSNP11

Syntax:

 >>> UBX passport@hotmail.com xxx\r\n
 <Data><PSM>My Personal Message</PSM><CurrentMedia></CurrentMedia></Data>
 >>> UBX passport@hotmail.com xxx\r\n
 <Data><PSM></PSM><CurrentMedia>\0Music\01\0{0} - {1}\0Song Title\0
 Song Artist\0Song Album\0{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\0</CurrentMedia></Data>

('xxx' is the payload length) you can combine the 2 syntaxes together by putting your personal message in the 'PSM' and your media in 'CurrentMedia', but it is no recommended since only 1 of them will be shown. For further information, Visit UUX-MSNP11.

Note: even though the link is for UUX in MSNP11, the syntax is almost the same for MSNP 13/14. In MSNP13/14 there are only added fields.

MSNP13

Syntax:

>>> UBX sender@email.com (Length)\r\n 
<Data><PSM></PSM><CurrentMedia></CurrentMedia>
<MachineGuid>{F26D1F07-95E2-403C-BC18-D4BFED493428}</MachineGuid></Data>

(The payload is in 1 line, it is displayed in 2 due to it length) As you can see, the only field added is the MachineGUID. For further information about the MachineGUID visit MachineGUID-MSNP13

MSNP14/15

Syntax:

>>> UBX source@mail.addr.ess networkid length
<Data><PSM></PSM><CurrentMedia></CurrentMedia><MachineGuid>{F26D1F07-95E2-403C-BC18-D4BFED493428}</MachineGuid></Data>

As you can see, the only parameter added is the networkid. For further information Visit Multiple Network.

Personal tools
Namespaces
Variants
Actions
Windows Live Network Protocol
Windows Live Client Protocol
Reference
Toolbox