Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The org.apache.felix.upnp.tester bundle installs a component that shows the UPnP devices registered with the OSGi framework. It provides a GUI shown in the Figure 6 that can be used for controlling the discovered devices: by invoking actions and by subscribing for the state variable changes occurring on them.Image Added
Figure6 The UPnP Tester GUI
In the left panel you can browse the devices discovered on the OSGi platform. Remember that they may be registered by the base driver as well as by other bundles installed on the platform. Therefore stopping the base driver you will continue to see the local devices, but they will be no more exported. The devices with their hierarchy of the embedded devices and services are represented as nodes of a tree with the following icons:

  •   Image Added Root Device
  •   Image Added Embedded Device
  •  ServiceImage Added Service
  •  ActionImage Added Action
  •  State Image Added State Variable
  •  Evented Image Added Evented State Variable
  •  Subscribed Image Added Subscribed State Variable

By clicking on the Root Device icon, the register properties defined by the device are shown on the right panel. You can distinguish between exported and imported devices by looking for the property key "UPnP.export" and "UPnP.device.imported" respectively.

...