# Table of contents:

# Introduction

UUX is a command introduced with MSNP11.

It is a Notification Server command, WITH a request payload and WITH a response payload.

Updates the current user's XML data.

For the version of the command that is sent from the server that relates to another user, read UBX.

# Client/Request

UUX TrID length
payload

Where length is the size (in bytes) of the payload.

Where payload is the combined XML data you would like to publish, contained in a <Data> element:

# Server/Response

UUX TrID length

Where length is always 0.

# Examples

NOTE: The XML in these examples has been exploded for visibility and formatting reasons.
The payload sizes provided are to represent the size of the unexploded payloads.

# Without MachineGuid

Only in MSNP11 and MSNP12.

# Blank status

C: UUX 1 53
<Data>
	<PSM></PSM>
	<CurrentMedia></CurrentMedia>
</Data>
S: UUX 1 0

# With PSM

C: UUX 2 75
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia></CurrentMedia>
</Data>
S: UUX 2 0

# With playing media

C: UUX 3 137
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia>\0Music\01\0{0} - {1}\0Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>
</Data>
S: UUX 3 0

# With MachineGuid

Since MSNP13.

# Blank status

C: UUX 4 118
<Data>
	<PSM></PSM>
	<CurrentMedia></CurrentMedia>
	<MachineGuid>{44BFD5A4-7450-4BDA-BA3A-C51B3031126D}</MachineGuid>
</Data>
S: UUX 4 0

# With PSM

C: UUX 5 140
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia></CurrentMedia>
	<MachineGuid>{44BFD5A4-7450-4BDA-BA3A-C51B3031126D}</MachineGuid>
</Data>
S: UUX 5 0

# With playing media

C: UUX 6 202
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia>\0Music\01\0{0} - {1}\0Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>
	<MachineGuid>{44BFD5A4-7450-4BDA-BA3A-C51B3031126D}</MachineGuid>
</Data>
S: UUX 6 0

# With Location XML

Only in Client Versions 8.1.0064 to 8.1.0068.

C: UUX 7 513
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia>\0Music\01\0{0} - {1}\0Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>
	<MachineGuid>{44BFD5A4-7450-4BDA-BA3A-C51B3031126D}</MachineGuid>
	<LOC>\0Location\01\0Example Location 1\0Example Location 1\0&lt;msnobj
		Creator=&quot;example@hotmail.com&quot;
		Type=&quot;14&quot;
		SHA1D=&quot;a7sY4yPTRc2QLDmqKlrV6t3ZE8I=&quot;
		Size=&quot;266&quot;
		Location=&quot;0&quot;
		Friendly=&quot;RQB4AGEAbQBwAGwAZQAgAEwAbwBjAGEAdABpAG8AbgAgADEAAAA=&quot;
	/&gt;\01\0</LOC>
</Data>
S: UUX 7 0

# Invalid data

C: UUX 8 19
<invalid></invalid>

Server disconnects client.

# Known changes