Consortium
Activities
Projects
Forge
Events
Log-in
Register
Aspire :: OSGi Bundles :: GPS Position Producer (NMEA GPS)
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 Aspire :: OSGi Bundles :: GPS Position Producer (NMEA GPS) ---- #toc("" "" "true") ---- This section describes the bundle for NMEA GPS sensor. 1.1 Description This bundle provides provides a org.osgi.service.wireadmin.Producer service that polls GPS positions from a GPS receiver connected to the gateway by a serial link or others receiver (CellID from Cellular Phone, ...). In fact, this bundle use classes from GPSMap ([http://gpsmap.sourceforge.net]) done by Christof Dallermassl. For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile. 1.1 Dependencies 1.1.1 Libraries * RXTX 2.2 * gpsinput-0.5.1 * dinopolis-util-0.5.1 1.1.1 Packages * gnu.io (RXTX) * org.osgi.service.wireadmin; specification-version=1.0 * org.osgi.util.measurement; specification-version=1.0 * org.osgi.util.position; specification-version=1.0 1.1 Build * Download a recent distribution of GPSMap available from [http://gpsmap.sourceforge.net]. Current version is 0.5.3. Update the POM file if necessary. * Extract the following files to the ~~./embeddedlibs~~ folder : ** dinopolis-util-~~version~~.jar ** gpsinput-~~version~~.jar * Download the RXTX bundle from AspireRFID repository : [Main.Documentation.Bundles.RXTX]. Use a recent distribution of the RXTX 2.2 available from [http://rxtx.qbang.org/wiki/index.php/Download]. It will be needed at runtime, in the running OSGi framework. * Configure the properties (serial port, ...) in <i>./src/main/resources/CONFIG-INF/config.properties</i>. * Build with Maven : ~~mvn clean install~~ 1.1 More informations... See the readme file in the doc/ folder of bundle sources.