Versions Compared

Key

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

Assuming that, as described in Building Felix web page, you have already checked out the Felix project in the $FELIX_HOME directory, the Felix UPnP project is located at $FELIX_HOME/trunk/upnp directory. The project is organized in different directories shown in Figure 1.
Image Added
Figure 1 The Felix UPnP project structure

...

Wiki Markup
After building the Felix project, you can start the script file "upnp.sh.bat" inside the /upnp/doc directory; it launches a Felix runtime with all the UPnP bundles released by the project. The script file defines a profile called "upnp" and the list of bundles\[1\]installed with the profile is shown in Figure 2. The UPnP Tester is a bundle that provides a browser utility to control and subscribe all the UPnP devices registered with the OSGi framework. After executing the script, you should see in the window opened by the UPnP Tester bundle three UPnP devices (left panel in Figure 3.a), which correspond to the TV, Clock and BinaryLight devices shown in Figure 3. Of course the number of discovered devices may be higher if other UPnP devices are installed in your local network
Figure 2 Bundles installed by the script

!Bundle-List.jpg!
Figure 2 Bundles installed by the script "upnp.sh.bat"

To stop the devices launched by the script you can close their windows, while to start them again type "start 10 11 12 13" from the Felix shell. See the sections "Testing UPnP devices" and "The UPnP Examples" for details on how to use the these bundles.

Image Added
a) UPnP Tester

Image Added
b) UPnP Clock


Image Added
c) UPnP TV

                               
 
                      Image Added
 
                    d) UPnP BinaryLight

Figure 3 The GUIs started by the script "upnp.sh.bat"

...