Networking
From Free60 Project
UPnP
- Uses various TCP ports. 1026, 1027 have been confirmed.
- Seems to adhere to UPnP MediaRenderer Specifications (http://www.upnp.org/standardizeddcps/mediaserver.asp)
- See also Linux SDK for UPnP Devices 1.2.1 (libupnp) (http://upnp.sourceforge.net/)
Accessing `http://YourXbox360IP:PORT/` returns: (formatting changed to make easier to read)
<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:ms=" urn:microsoft-com:wmc-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device ms:X_MS_SupportsWMDRM="true">
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<manufacturer>Microsoft Corporation</manufacturer>
<manufacturerURL>http://www.microsoft.com/</manufacturerURL>
<modelName>Xbox 360</modelName>
<modelNumber></modelNumber>
<modelDescription>Xbox 360</modelDescription>
<modelURL>http://www.xbox.com/</modelURL>
<friendlyName>Xbox 360</friendlyName>
<serialNumber>XXXXXXXXXXXX</serialNumber>
<UDN>uuid:SSSSSSSS-SSSS-2000-0000-MMMMMMMMMMMM</UDN>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>/Content/RenderingControl</SCPDURL>
<controlURL>/Control/RenderingControl</controlURL>
<eventSubURL>/Event/RenderingControl</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/Content/ConnectionManager</SCPDURL>
<controlURL>/Control/ConnectionManager</controlURL>
<eventSubURL>/Event/ConnectionManager</eventSubURL>
</service>
</serviceList>
</device>
</root>
Accessing the SCPDURL returns the XML Schemas for the corresponding service.
- UDN uuid format
- S - Serial number
- M - XBOX 360 MAC Address
The 360 also uses UPnP to talk to Windows Media Connect and routers.
<?xml version="1.0"?> <root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:ms=" urn:microsoft-com:wmc-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device ms:X_MS_SupportsWMDRM="true">
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<manufacturer>Microsoft Corporation</manufacturer>
<manufacturerURL>http://www.microsoft.com/</manufacturerURL>
<modelName>Windows Media Connect</modelName>
<modelNumber></modelNumber>
<modelDescription>Xbox 360</modelDescription>
<modelURL>http://www.xbox.com/</modelURL>
<friendlyName>Windows Media Connect1</friendlyName>
<serialNumber>XXXXXXXXXXXX</serialNumber>
<UDN>uuid:SSSSSSSS-SSSS-2000-0000-MMMMMMMMMMMM</UDN>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>/Content/RenderingControl</SCPDURL>
<controlURL>/Control/RenderingControl</controlURL>
<eventSubURL>/Event/RenderingControl</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/Content/ConnectionManager</SCPDURL>
<controlURL>/Control/ConnectionManager</controlURL>
<eventSubURL>/Event/ConnectionManager</eventSubURL>
</service>
</serviceList>
</device>
</root>
UPnP MediaServer Connectivity
Preconditions
The 360 will only talk with the !MediaServer if certain parameters are fulfilled. In the !MediaServer's Device Description XML the following tags must have the specified value:
- <modelName> must be "Windows Media Connect"
- <friendlyName> must end in " : 1 : Windows Media Connect"
Only when this information is available the 360 will show the !MediaServer in its Computer browser.
When the !MediaServer is added by the 360 the <friendlyName> is not required to end in " : 1 : Windows Media Connect". At this point the 360 probably only uses the UUID to find the !MediaServer.
== Browsing

