摘要 |
An apparatus and method for UPnP device code generation using XML are described. The method includes receiving a UPnP device description document from a device developer. Once received, one or more service control class files are generated, including one or more service control stub-methods. Next, the service control class files are received, including updated service control stub-methods. The updated stub-methods are modified by the device developer in order to respond to actions received by a UPnP device described by the UPnP device description document. Finally, the service control class files and the updated service control stub-methods, along with a device class library and a UPnP SDK are compiled to generate a device executable for the UPnP device described by the UPnP device description document.
|