nmea_gps: renamed vk2828u7 to nmea_gps
This driver will serve as a generic module for grabbing NMEA data from various GPS devices via a serial interface. ublox6 will also be removed in favor of using this driver going forward. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
20
src/nmea_gps/javaupm_nmea_gps.i
Normal file
20
src/nmea_gps/javaupm_nmea_gps.i
Normal file
@@ -0,0 +1,20 @@
|
||||
%module javaupm_nmea_gps
|
||||
%include "../upm.i"
|
||||
%include "std_string.i"
|
||||
%include "typemaps.i"
|
||||
|
||||
%include "nmea_gps.hpp"
|
||||
%{
|
||||
#include "nmea_gps.hpp"
|
||||
%}
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_nmea_gps");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
Reference in New Issue
Block a user