7 Appendix B: UPnP Device Description
The following is a sample service information of DTAG, which the device description has to include as part of the service list for the device.
The default namespace, "urn:schemas-upnp-org:device-1-0", is specified in [UPNPARCH1] sections 2.1 and 2.6.
-
<?xml version='1.0'?> <root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" > <specVersion> <major>1</major> <minor>0</minor> </specVersion> <device> <pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory> <deviceType>urn:schemas-microsoft-com:device:MediaCenterExtenderMFD:1</deviceType> <friendlyName>Xbox 360 Media Center Extender</friendlyName> <manufacturer>Microsoft Corporation</manufacturer> <manufacturerURL>http://www.xbox.com/</manufacturerURL> <modelDescription>Xbox 360 Media Center Extender</modelDescription> <modelName>Xbox 360</modelName> <modelNumber></modelNumber> <modelURL>http://go.microsoft.com/fwlink/?LinkID=53081</modelURL> <serialNumber></serialNumber> <UDN>uuid:10000000-0000-0000-0200-00125A702E78</UDN> <UPC></UPC> <iconList> <icon> <mimetype>image/jpeg</mimetype> <width>48</width> <height>48</height> <depth>24</depth> <url>/IconSM.jpg</url> </icon> <icon> <mimetype>image/jpeg</mimetype> <width>120</width> <height>120</height> <depth>24</depth> <url>/IconLRG.jpg</url> </icon> <icon> <mimetype>image/png</mimetype> <width>48</width> <height>48</height> <depth>24</depth> <url>/IconSM.png</url> </icon> <icon> <mimetype>image/png</mimetype> <width>120</width> <height>120</height> <depth>24</depth> <url>/IconLRG.png</url> </icon> <icon> <mimetype>image/png</mimetype> <width>152</width> <height>152</height> <depth>24</depth> <url>/IconMCE.png</url> </icon> </iconList> <serviceList> <service> <serviceType>urn:schemas-microsoft-com:service:NULL:1</serviceType> <serviceId>urn:microsoft-com:serviceId:NULL</serviceId> <SCPDURL>/XD/NULL.xml</SCPDURL> <controlURL>/UD/?0</controlURL> <eventSubURL/> </service> </serviceList> <deviceList> <device xmlns:mcx="http://schemas.microsoft.com/windows/mcx/2007/06" xmlns:nss="urn:schemas-microsoft-com:WMPNSS-1-0"> <pnpx:X_compatibleId>MICROSOFT_MCX_0001</pnpx:X_compatibleId> <pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory> <mcx:pakVersion>dv2.0.0</mcx:pakVersion> <mcx:supportedHostVersions>pc2.0.0</mcx:supportedHostVersions> <nss:X_magicPacketSendSupported>1</nss:X_magicPacketSendSupported> <deviceType>urn:schemas-microsoft-com:device:MediaCenterExtender:1</deviceType> <friendlyName>Xbox 360 Media Center Extender</friendlyName> <manufacturer>Microsoft Corporation</manufacturer> <manufacturerURL>http://www.microsoft.com/</manufacturerURL> <modelDescription>Xbox 360 Media Center Extender</modelDescription> <modelName>Xbox 360</modelName> <modelNumber></modelNumber> <modelURL>http://go.microsoft.com/fwlink/?LinkID=53081</modelURL> <serialNumber></serialNumber> <UDN>uuid:20000000-0000-0000-0200-00125A702E78</UDN> <UPC></UPC> <iconList> <icon> <mimetype>image/jpeg</mimetype> <width>48</width> <height>48</height> <depth>24</depth> <url>/IconSM.jpg</url> </icon> <icon> <mimetype>image/jpeg</mimetype> <width>120</width> <height>120</height> <depth>24</depth> <url>/IconLRG.jpg</url> </icon> <icon> <mimetype>image/png</mimetype> <width>48</width> <height>48</height> <depth>24</depth> <url>/IconSM.png</url> </icon> <icon> <mimetype>image/png</mimetype> <width>120</width> <height>120</height> <depth>24</depth> <url>/IconLRG.png</url> </icon> <icon> <mimetype>image/png</mimetype> <width>152</width> <height>152</height> <depth>24</depth> <url>/IconMCE.png</url> </icon> </iconList> <serviceList> <service> <serviceType>urn:schemas-microsoft-com:service:mstrustagreement:1</serviceType> <serviceId>urn:microsoft-com:serviceId:MSTA</serviceId> <SCPDURL>/XD/mstrustagreement.xml</SCPDURL> <controlURL>/UD/?1</controlURL> <eventSubURL /> </service> </serviceList> </device> </deviceList> </device> </root>