Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2579

deviceType in desciption of subdevices missing

    XMLWordPrintableJSON

    Details

      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.

        Attachments

        1. BuildDevice.java
          12 kB
          Lars-Erik Kimmel

          Activity

            People

            • Assignee:
              stefano.lenzi Stefano Lenzi
              Reporter:
              lkimmel Lars-Erik Kimmel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: