Aspire :: OSGi Bundles :: GPS Position Producer (NMEA GPS)
This section describes the bundle for NMEA GPS sensor.
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.Dependencies
Libraries
- RXTX 2.2
- gpsinput-0.5.1
- dinopolis-util-0.5.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
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 : 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 ./src/main/resources/CONFIG-INF/config.properties.
- Build with Maven : mvn clean install