Checkout
 

furfari in felix

Fixed bug related to the erroneous date presentation when the TV device is linked to a remote UPnP Clock. Changed state variable from time to DateTime. The sample devices are not interoperable with the original Cyberlink devices anymore.
FELIX-727 thanks to Rian Wouters
updated dependencies
FELIX-642 Fixed bug due to the not synchronized method httpRequestReceived of MyCtrlPoint.java (basedriver importer)
updated link to documentation pages
added documentation
    • -0
    • +6028
    /upnp/doc/Felix UPnP Documentation (1.0).pdf
Updated bundles version in the UPnP script

Added random generation of devices ID in the examples

Review of driver interface documentation

Pointed out the properties that should be configured as System Properties (that's all the cyberdomo properties)
restored original values
fixed bug due to automatic box and unboxing ....
Reorganized basedriver initialization

added time to string conversion to device

Removed old references to "incubator"

Completed Binary Light implementation according to the UPnP DCP

Reorganized BinaryLight packages

  1. … 14 more files in changeset.
Modified dependency graph for:

- basedriver; dependency with extra bundle is not more needed. Now the basedriver directly exports the interfaces of the services it registers with the framework (DriverController.java and DevicesInfo.java)

- extra bundle provides only common utilities to write OSGi/UPnP Device services. It is used by the examples

- tv, clock and bynarylight use the extra packages (except for UPnpSubscriber; to do later)

- tester use the basedriver packages for forcing MSearch and Debugging and for resolving relative URLs

Added thread name to TVFrame.class and ClockFrame.class

  1. /upnp/extra/src/main/java/org/apache/xerces
  2. /upnp/basedriver/src/main/java/org/apache/xerces
  3. … 22 more files in changeset.
Moved the method getPropertyDefault() to Basedriver Activator and deleted Util.java
Moved UPnPEventNotifier.java and EventSource to the "extra" bundle.

Added dependencies with "extra" bundle to the examples projects

Modified the evented statevariables of the examples to use UPnPLocalStateVariable (since R4) (we used UPnPStateVariableDescriptor.java now removed)

Reorganized imports with the following order:

java,javax,com,org,org.apache,org.osgi,org.apache.felix,org.apache.felix.upnp

    • -24
    • +28
    /upnp/samples/tv/pom.xml
  1. … 39 more files in changeset.
Added new system properties to configure the UPnP basedriver:

felix.upnpbase.log (default 2) (range 0 - 4)

felix.upnpbase.exporter.enabled (default true)

felix.upnpbase.importer.enabled (default true)

felix.upnpbase.cyberdomo.log (default false)

felix.upnpbase.cyberdomo.net.loopback (default false)

felix.upnpbase.cyberdomo.net.onlyIPV4 (default true)

felix.upnpbase.cyberdomo.net.onlyIPV6 (default false)

cyberdomo.ssdp.mx (default 5) it represent the delay in seconds to receive an MSearch reply. (it should be between 2 and 10)

cyberdomo.ssdp.buffersize (default 2048) (range from 512 to 65636)

cyberdomo.ssdp.port (default 1900) (according to the UPnP Spec. it should never be changed; range 1024 - 49151 )

Removed old configuration files and added new ones to launch all the UPnP bundles
    • -0
    • +490
    /upnp/doc/config.properties.upnp
    • ?
    /upnp/doc/config.properties.jmxconsole
Re-organized UPnP sub-project. Now UPnP artifacts can be built from UPnP directory (and samples directory too)
    • -0
    • +30
    /upnp/samples/pom.xml
Fixed wrong version which prevented the import of upnp.extra packages
    • -1
    • +1
    /upnp/basedriver/pom.xml
Deleted unused files
  1. /upnp/samples/tv/src/main/resources/META-INF
  2. /upnp/samples/clock/src/main/resources/META-INF