Share via


Creating a Device Description Document (Windows Embedded CE 6.0)

1/6/2010

The device description document is an XML document that follows a standard schema and provides information about the device, like the device type and manufacturer information, and a list of the services the device provides.

For detailed information about device description documents, including the UPnP Template Language, which is an XML dialect in which the documents are written, see the UPnP Architecture documentation available at this UPnP Web site.

The format of the XML device description follows the UPnP Architecture specifications with a few differences:

  • The UDN field holds a descriptive placeholder, not the actual globally unique ID.
  • Any file URLs, such as icons, presentation pages and service description (SCPD) elements, should contain the local file path, like this:
    <SCPDURL>SampleSCPD.xml</SCPDURL>
  • The eventSubURL and controlURL elements should be empty XML elements.

All device description documents and referenced resources, including icons, presentation pages, and service description documents, must reside in the Windows\Upnp directory on the device so they can be located and used by the Device Host implementation.

See Also

Concepts

Implementing a Hosted Device Using COM