Created a set of properties for the driver: upnp.properties
Bundle load the default properties from upnp.properties and them are overreddin by the system properties
Created javadoc for properties used by the UPnP Base Driver
Added README for describing Javadoc
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@609675 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/upnp/basedriver/src/main/resources/README b/upnp/basedriver/src/main/resources/README
new file mode 100644
index 0000000..adb9955
--- /dev/null
+++ b/upnp/basedriver/src/main/resources/README
@@ -0,0 +1,28 @@
+This bundle tries to be complaint to the UPnP Base Driver OSGi R4 specification.
+
+At the moment the bundle do not support the following requirement:
+ - upnp.ssdp.address Configuration Service
+ - exported device changes: if a service already exported as UPnP Device changes
+ it's own configuration, i.e.: implements new service, changes the friendly name, etc.,
+ the new service description is not reflected on the UPnP Device
+ - icon for exported device is not tested
+ - no localization support
+
+The bundle provides extra capabilities:
+ - the bundles implements the org.apache.felix.upnp.extra.controller specification
+
+Finally the bundle can be configured by setting the following properties divided by categories:
+1 - LOGGING
+felix.upnpbase.log: integer which identifies the verbosity of the bundle
+felix.upnpbase.cyberdomo.log: boolean which enables or disables the UPnP CyberDomo SDK debugging messages
+2 - FACILITY
+felix.upnpbase.exporter.enabled: boolean which enables or disables the Exporter facilities of the UPnP Base Driver
+felix.upnpbase.importer.enabled: boolean which enables or disables the Exporter facilities of the UPnP Base Driver
+3 - NETWORK
+felix.upnpbase.cyberdomo.net.loopback: boolean which enables or disables the use of Loopback devices
+felix.upnpbase.cyberdomo.net.onlyIPV4: boolean which enables or disables the use of IPv4 addresses
+felix.upnpbase.cyberdomo.net.onlyIPV6: boolean which enables or disables the use of IPv6 addresses (if base driver is running on JDK 1.4 or greater)
+cyberdomo.ssdp.mx: integer which idntifies the value to set in MX packet while performing discovery operation on UPnP
+cyberdomo.ssdp.buffersize: integer which identifies buffer size for UDP packet
+cyberdomo.ssdp.port: integer which identifies the destination port to use for SDDP multicast discovery packet
+
\ No newline at end of file
diff --git a/upnp/basedriver/src/main/resources/org/apache/felix/upnp/basedriver/upnp.properties b/upnp/basedriver/src/main/resources/org/apache/felix/upnp/basedriver/upnp.properties
new file mode 100644
index 0000000..45b5e69
--- /dev/null
+++ b/upnp/basedriver/src/main/resources/org/apache/felix/upnp/basedriver/upnp.properties
@@ -0,0 +1,31 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#
+# Felix UPnP Base Driver properties.
+#
+
+felix.upnpbase.log=2
+felix.upnpbase.exporter.enabled=true
+felix.upnpbase.importer.enabled=true
+felix.upnpbase.cyberdomo.log=false
+felix.upnpbase.cyberdomo.net.loopback=false
+felix.upnpbase.cyberdomo.net.onlyIPV4=true
+felix.upnpbase.cyberdomo.net.onlyIPV6=false
+cyberdomo.ssdp.mx=5
+cyberdomo.ssdp.buffersize=2048
+cyberdomo.ssdp.port=1900