Consortium
Activities
Projects
Forge
Events
Log-in
Register
Aspire :: OSGi Bundles for Aspire servers
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 Aspire :: OSGi Bundles for Aspire servers ---- #toc("" "" "true") ---- This section describes the OSGi bundles used in the Aspire middleware. 1.1 Source repository * [Source repository>http://websvn.ow2.org/listing.php?repname=aspire&path=%2Ftrunk%2Fbundles%2F] 1.1 OBR The artifact will be available soon through an [OBR index>http://www.osgi.org/download/rfc-0112_BundleRepository.pdf] mapped on a Maven repository. 1.1 General Purpose * [Bluetooth Server>Main.Documentation.Bundles.BluetoothServer] * [RXTX>Main.Documentation.Bundles.RXTX] * [LibUSBJava>Main.Documentation.Bundles.LibUSBJava] * [Phidget library>Main.Documentation.Bundles.PhidgetLib] 1.1 Readers 1.1.1 Libraries The bundles for readers package only implementation classes imported by the ALEServer barfile (bundle+war) deployed on the OSGi platform. * [ProximaRF Desktop USB reader>Main.Documentation.Bundles.ProximaRFDesktopReader] * [TagSys Medio Serial reader>Main.Documentation.Bundles.TagSysMedioReader] * [ACR 122 USB reader>Main.Documentation.Bundles.ACR122Reader] * [OneWire reader>Main.Documentation.Bundles.OneWireReader] * [Phidget RFID Reader>Main.Documentation.Bundles.PhidgetReader] 1.1.1 Bundles with HALAdaptor services The bundles package services that are automatically added and removed to the ALEServer' LRSpec list 1.1.1 UPnP RFID Readers * [UPnP RFID Reader (based on ACR122U>Main.Documentation.Bundles.UPnPRFIDReader] 1.1 Sensors 1.1.1 Data exchanges Data sent by the sensors to the ALEServer are: * [org.osgi.util.measurement.Measurement>http://www.osgi.org/javadoc/r4v42/org/osgi/util/measurement/Measurement.html] * [org.osgi.util.measurement.State>http://www.osgi.org/javadoc/r4v42/org/osgi/util/measurement/State.html] * [org.osgi.util.position.Position>http://www.osgi.org/javadoc/r4v42/org/osgi/util/position/Position.html] * [java.awt.Image>http://java.sun.com/javase/6/docs/api/java/awt/Image.html] * [javax.imageio.IIOImage>http://java.sun.com/javase/6/docs/api/javax/imageio/IIOImage.html] * java.lang.Double * java.lang.Float * java.lang.Long * java.lang.Integer Data values must be represented in units defined by the [International System of Units>http://en.wikipedia.org/wiki/International_System_of_Units] (such as the [org.osgi.util.measurement.Unit>http://www.osgi.org/javadoc/r4v42/org/osgi/util/measurement/Unit.html]). Sensors data types are named ~~[flavors>http://www.osgi.org/javadoc/r4v42/org/osgi/service/wireadmin/WireConstants.html#WIREADMIN_PRODUCER_FLAVORS]~~ in the WireAdmin terminology. Other data types could be * Location API for J2ME (JSR 179) ( http://www.jcp.org/en/jsr/detail?id=179) * Java Distributed Data Acquisition and Control API (JDDAC) ( https://jddac.dev.java.net) 1.1.1 Sensors properties Sensors and data properties qualify the Producer services and Event properties used in the Aspire components. * application.name * value.unit * ... [UPnP constants>http://www.osgi.org/javadoc/r4v42/org/osgi/service/upnp/UPnPDevice.html] can be used also. 1.1.1 OSGi WireAdmin based sensors The sensors are developed according the OSGi [WireAdmin>http://www.osgi.org/javadoc/r4v42/org/osgi/service/wireadmin/package-summary.html] specification. The bundles for sensors package Producer services. Those service are automatically wired to the Consumer service of the ALEServer barfile. * [OneWire>Main.Documentation.Bundles.OneWireProducer] * [TEMPer>Main.Documentation.Bundles.TEMerProducer] * [Oregon WMR 200 weather station>Main.Documentation.Bundles.WMR200WeatherStation] * [LaCrosse WS 2300 weather station>Main.Documentation.Bundles.WS2300WeatherStation] * Sunspot * Wiimote * [NMEA GPS>Main.Documentation.Bundles.NMEAGPS] * USB WebCam using JMF * USB WebCam unig QT * [USB Multimeter Velleman DVM 1200>Main.Documentation.Bundles.MultimeterDVM1200] 1.1.1 OSGi EventAdmin based sensors The sensors are developed according the OSGi [EventAdmin>http://www.osgi.org/javadoc/r4v42/org/osgi/service/event/package-summary.html] specification. They send/post events containing measures to the ALEServer' topic <code>org/ow2/aspirerfid/aleserver/sensedata</code>. The Event properties are : 1.1.1 OSGi MonitorAdmin based sensors The sensors are developed according the OSGi [MonitorAdmin>http://www.osgi.org/javadoc/r4v42/org/osgi/service/monitor/package-summary.html] specification. 1.1.1 OSGi UPnP Base Driver based sensors The sensors are developed according the OSGi [UPnP Base Driver>http://www.osgi.org/javadoc/r4v42/org/osgi/service/upnp/package-summary.html] specification. 1.1 Actuators * [iBuddy>Main.Documentation.Bundles.iBuddy] * [Rocket launcher>Main.Documentation.Bundles.RocketLauncher] * [Velleman K8090 USB 8 relays>Main.Documentation.Bundles.K8090] * [Servo Motors>Main.Documentation.Bundles.ServoMotor] 1.1.1 OSGi UPnP Base Driver based actuators The sensors are developed according the OSGi [UPnP Base Driver>http://www.osgi.org/javadoc/r4v42/org/osgi/service/upnp/package-summary.html] specification. 1.1 Sensors+Actuators * Lego Mindstorms * [USB Phidgets>Main.Documentation.Bundles.Phidgets] * [Velleman K8055 acquisition board>Main.Documentation.Bundles.K8055] * [Arduino>Main.Documentation.Bundles.Arduino] 1.1 Others 1.1 Utilities * SensorConsumer * WireAdmin-to-EventAdmin bridge 1.1 How to develop 1.1.1 Serial devices (and serial-to-USB devices) * RXTX 1.1.1 USB devices * LibUSB Java 1.1.1 Bluetooth devices * Bluetooth bridge 1.1.1 Zigbee devices 1.1.1 6lowPAN devices 1.1.1 Sample of OSGi WireAdmin producer 1.1.1 Sample of OSGi WireAdmin consumer 1.1.1 Sample of OSGi EventAdmin publisher 1.1.1 Sample of OSGi EventAdmin subscriber (ie EventHandler)