Skip to content

Example of using Vertx, a GPS TCP Client Verticle to receive data from GPSD, and the Event Bus for messaging

Notifications You must be signed in to change notification settings

dbh/vertx-gps-example

Repository files navigation

Vertx-gps-example is an example of how to use Vert.x to read location from a GPS (via GPSD) and write that data onto the Vert.x Event Bus for further processing. This example code requires a GPSD or gpsdfake from which to receive data.

Here is how to start the GPS verticle

vertx run com.davidbharrison.com.vertx.gps.GpsTcpClientVerticle -cp gps-verticle -1.0-SNAPSHOT.jar -conf vertx-gps-conf.json -cluster -cluster-host localhost 

The config file vertx-gps-conf.json should contain the following:

{
        "gps.port" : 2947,
        "gps.host" : "localhost"
}

References:

About

Example of using Vertx, a GPS TCP Client Verticle to receive data from GPSD, and the Event Bus for messaging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages