summaryrefslogtreecommitdiffstats
path: root/src/can-signals.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-16Beginning of work on obd2 object andRomain Forlot1-142/+0
files reorganization. Change-Id: Idaa7ad05c45d734ce771506fd6e41f1a09a6ac66 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-06Sort and comment the codeRomain Forlot1-19/+0
Change-Id: I1860c0d5fb03ce2217d5553159a090298596d939 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-06Change way to find signals to make it a little bit more generic.Romain Forlot1-4/+5
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>
2017-03-03change all genericName to generic_name. Now allRomain Forlot1-1/+1
objects use the same variable name Change-Id: I8a232bc8fd7e580bd8088e6b2ae7a90666ef9c62 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-02Fix: multiple subscription and maintain subscribed_signals coherenceRomain Forlot1-19/+11
across usage. - Transmission of a reference instead of copy. - Don't use anymore iterator on subscribed_signals map Change-Id: I5e5b7b0bb8598be3bb0ec59c29418ee937ddcc9e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-01tbfRomain Forlot1-26/+0
Change-Id: I30e16cd45d613db1aaf7d1064bfaf5c6013d991a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Re-arranging objects splitting all objects overRomain Forlot1-20/+87
separated files. Change-Id: Ifbdb2ea08704324e505a48ba3124df6f2af63c6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27Fix wrong returned value about getCanBuses.Romain Forlot1-1/+1
Why I keep this function anyway... Change-Id: Ifcbc00625fcb065b73afed51fc712067aa9db412 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27In class mutex and condition variable except for subscribed_signals mapRomain Forlot1-8/+2
For now... Change-Id: I133deb39fcd0660064b3b3c2a52f86ad37cb29c2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-24Improve mutex lock logic.Romain Forlot1-0/+9
- Use of bracket instead of unlock method - Change some mutex lock scope. - Added subscribed_signals map object mutex to manipulate it safely. Change-Id: I770c0b5701db6b1151511f7360ec31ae6dcc1de9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-23First draft about lock/wait thread management.Romain Forlot1-2/+6
Reordering include files Change-Id: Ia6d9ee30eb4e1df0c380c26355679fe00b373aa8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-23Make binder_interface global variable rather thanRomain Forlot1-1/+1
pass it over and over through class and functions Change-Id: Ie32d44126a41125c6c45d18663b668328df44e2d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-23Cleaning, improve commentsRomain Forlot1-1/+1
Change-Id: I2115f7e7017786c343da4b70002c3b3785ba53ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22No more warning about not defined functionsRomain Forlot1-12/+25
because of wrong header files inclusion. Some variables are now accessible using functions rather than using global variables that can not be accessed through separated files. Also fix timer returning function type. Change-Id: I36138ff671c2537f595235273abaa34783be18e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Resolve circular header files inclusionRomain Forlot1-2/+3
Change-Id: Ida3de058f1edd2892ebc858d1eb714471fd5f65c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Fix: decoder_t class decodeSignal method signatureRomain Forlot1-1/+1
Change-Id: Id7ef4fe3b8d3f5b14fd447cf05865ba494862792 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Fix: force to pass a ref at threads launchRomain Forlot1-10/+1
Change-Id: Ife4206d6f6dce6888157239cce56b0040e3d2cf4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Clean up include statement...Romain Forlot1-0/+5
Change-Id: Ie909836171ea5eb030246255bb08f1c5b8a65641 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Fix: OBD2_PIDS array initializationRomain Forlot1-20/+48
Change-Id: Ic2c297e4ff94a13872f066ca42ee42beb45451ca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Fix: timer.* issuesRomain Forlot1-13/+11
Change-Id: I1c3721403198b3c5525a811bd3c7cbf6b8e78e5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Change hpp include file directiveRomain Forlot1-1/+1
Change-Id: I1df7ab41b19a2c065d8ed477115e21e0ded8659f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Rename header file to hpp.Romain Forlot1-0/+84
Change-Id: I399e0c0f39b18e63e254825b6322faf77896a264 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>