Change way to find signals to make it a little bit more generic.
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 6 Mar 2017 15:57:14 +0000 (16:57 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 6 Mar 2017 15:57:14 +0000 (16:57 +0100)
commit239729c759948d4574de625a84cff6f9c1338adf
tree4f5635d50c5704a0753586d4fea4b3822eee0e51
parent217690559c27646c7e412aaeacfa2064a9e7e6e4
Change way to find signals to make it a little bit more generic.

Now we have basically 3 functions :
 - one for subscription which return signal name into a vector
 - one to find from CanSignal vector
 - a last to find from Obd2Pid vector

Name of some function has been changed.

May be reworked later.

Change-Id: Ie72969fd20503fc1f9291958dc2ac5d827a6be59
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
openxc_example/generate_example.cpp
src/can-signals.cpp
src/can-signals.hpp
src/low-can-binding.cpp
src/obd2-signals.cpp [new file with mode: 0644]
src/obd2-signals.hpp [moved from src/obd2.hpp with 52% similarity]
src/obd2.cpp [deleted file]
src/signals.cpp [new file with mode: 0644]
src/signals.hpp [new file with mode: 0644]