Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
upnp-basedriver-0.8.0
-
None
Description
The desciption lacks of deviceType for subdevices.
It can be pinned down to BuildDevice, where only in the description of the root device the deviceType with the highest supported version is added to the document.
A simple workaround helps by introducing a method
private static void setDeviceTypeWithHighestVersion(Device devUPnP, ServiceReference sr)
made of the code in the build of the root device
and call
setDeviceTypeWithHighestVersion(devUPnP, sr);
in buildRootDeviceNode(..) and buildDevice(..)
This workaround is done in the attached BuildDevice.java.