summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevron Rees <tripero.kev@gmail.com>2016-07-21 10:58:27 -0700
committerKevron Rees <tripero.kev@gmail.com>2016-07-21 10:58:27 -0700
commit94fd44f7fbbfe8c366fd69524d12ba0016b04b14 (patch)
tree74e573b40c3a784047fb217fd43da9dd68060b94
parentc26819073d2a1444a156e4d2e3b61bef81663ea5 (diff)
downloadautomotive-message-broker-94fd44f7fbbfe8c366fd69524d12ba0016b04b14.tar.gz
[gpsnmea] add missing config segment
-rw-r--r--plugins/gpsnmea/CMakeLists.txt4
-rw-r--r--plugins/gpsnmea/gpsnmea.in.json8
2 files changed, 12 insertions, 0 deletions
diff --git a/plugins/gpsnmea/CMakeLists.txt b/plugins/gpsnmea/CMakeLists.txt
index 2bcbb1db..42779732 100644
--- a/plugins/gpsnmea/CMakeLists.txt
+++ b/plugins/gpsnmea/CMakeLists.txt
@@ -15,4 +15,8 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/gp
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/gpsnmea.README.md DESTINATION ${DOC_INSTALL_DIR}/plugins)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/gpsnmea.in.json ${CMAKE_CURRENT_BINARY_DIR}/gpsnmea @ONLY)
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/gpsnmea DESTINATION ${PLUGIN_SEGMENT_INSTALL_PATH})
+
+
endif(gpsnmea_plugin)
diff --git a/plugins/gpsnmea/gpsnmea.in.json b/plugins/gpsnmea/gpsnmea.in.json
new file mode 100644
index 00000000..ac009455
--- /dev/null
+++ b/plugins/gpsnmea/gpsnmea.in.json
@@ -0,0 +1,8 @@
+{
+ "name" : "gpsnmea",
+ "enabled" : false,
+ "path" : "@PLUGIN_INSTALL_PATH@/gpsnmea.so",
+ "device" : "/dev/ttyUSB0",
+ "baudrate" : "4800",
+ "bluetoothAdapter" : "00:00:00:00:00:00"
+}