# 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, which depends on which mutually exclusive element you are using:

# 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.

# Data 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

# With Signature Sound

Only in Client Versions 9.0.1407 to 14.0.5027.

C: UUX 8 511
<Data>
	<PSM>example status message</PSM>
	<CurrentMedia>\0Music\01\0{0} - {1}\0Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>
	<MachineGuid>&#x7B;44BFD5A4-7450-4BDA-BA3A-C51B3031126D&#x7D;</MachineGuid>
	<SignatureSound>
		&#x3C;msnobj
			Creator&#x3D;"example@hotmail.com"
			Type&#x3D;"14"
			SHA1D&#x3D;"NpHZ1rVACsZCmDoDpDkMch0fPeE&#x3D;"
			Size&#x3D;"50037"
			Location&#x3D;"0"
			Friendly&#x3D;"QgBhAG4AZAAgAEkAbgB0AHIAbwAAAA&#x3D;&#x3D;"
			PlaybackLength&#x3D;"5016"
			DisplayNamePostFix&#x3D;"0"
		/&#x3E;
	</SignatureSound>
</Data>

# EndpointData payloads

Since MSNP16.

C: UUX 9 70
<EndpointData>
	<Capabilities>2522660900:0</Capabilities>
</EndpointData>
S: UUX 9 0

# PrivateEndpointData payloads

Since MSNP16.

C: UUX 10 104
<PrivateEndpointData>
	<EpName>EXAMPLE</EpName>
	<Idle>false</Idle>
	<State>NLN</State>
</PrivateEndpointData>
S: UUX 10 0

# Invalid data

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

Server disconnects client.

# Known changes