aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-17 12:43:04 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-20 11:14:55 +0000
commit5c64e5f584bc0161af0c0d904d4e74db45e44451 (patch)
tree4ce7075b43ffb6bca15b23248a3460ce2a19007c
parent860d6bd4a829ee5aca50b93122474c9bf68fff9d (diff)
Include supplementary libs and fix include
Change-Id: I521ededa95c3b5f4507b86f162f04bf28474e440 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/obd2.hpp9
2 files changed, 2 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 13539227..a034b433 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -57,7 +57,7 @@ include(FindPkgConfig)
pkg_check_modules(EXTRAS REQUIRED json-c afb-daemon)
add_compile_options(${EXTRAS_CFLAGS})
-include_directories(${EXTRAS_INCLUDE_DIRS} ${PROJECT_LIBDIR}/openxc-message-format/gen/cpp ${PROJECT_LIBDIR}/nanopb/)
+include_directories(${EXTRAS_INCLUDE_DIRS} ${PROJECT_LIBDIR}/openxc-message-format/gen/cpp ${PROJECT_LIBDIR}/nanopb/ ${PROJECT_LIBDIR}/uds-c/src ${PROJECT_LIBDIR}/bitfield-c/src ${PROJECT_LIBDIR}/isotp-c/src)
link_libraries(${EXTRAS_LIBRARIES})
###########################################################################
diff --git a/src/obd2.hpp b/src/obd2.hpp
index cd362c79..166773c6 100644
--- a/src/obd2.hpp
+++ b/src/obd2.hpp
@@ -15,14 +15,7 @@
* limitations under the License.
*/
-/*
- * A representation of an OBD-II PID.
- *
- * pid - The 1 byte PID.
- * name - A human readable name to use for this PID when published.
- * frequency - The frequency to request this PID if supported by the vehicle
- * when automatic, recurring OBD-II requests are enabled.
- */
+#include "uds/uds.h"
enum UNIT {
POURCENT,