summaryrefslogtreecommitdiffstats
path: root/src/can_decode_message.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27In class mutex and condition variable except for subscribed_signals mapRomain Forlot1-5/+5
For now... Change-Id: I133deb39fcd0660064b3b3c2a52f86ad37cb29c2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27Changed the decoding functionRomain Forlot1-3/+2
Change-Id: Ib27fb13d4fb7959509400a3c2eff2859d1ce9c2b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-24Improve mutex lock logic.Romain Forlot1-18/+21
- 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-19/+32
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-2/+2
pass it over and over through class and functions Change-Id: Ie32d44126a41125c6c45d18663b668328df44e2d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22No more warning about not defined functionsRomain Forlot1-5/+6
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-1/+1
Change-Id: Ida3de058f1edd2892ebc858d1eb714471fd5f65c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22All queue under can_bus_t class and reading threadRomain Forlot1-21/+20
function with an additionnal can_bus_t object argument Change-Id: I6b0b9b66e83be59359bcd148e8b9f3350a085b64 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Fix: force to pass a ref at threads launchRomain Forlot1-5/+5
Change-Id: Ife4206d6f6dce6888157239cce56b0040e3d2cf4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Multifixes: class and methods, typo, commentsRomain Forlot1-3/+2
Change-Id: I473de66a9d4119ce64c04bd7fa59654774ac3b8f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Cleaned up, a bit, include statement.Romain Forlot1-11/+1
Change-Id: Icdaa162f1b3b92e730fc7dc263c18c682a7f4098 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Fix: OBD2_PIDS array initializationRomain Forlot1-103/+2
Change-Id: Ic2c297e4ff94a13872f066ca42ee42beb45451ca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Rename header file to hpp.Romain Forlot1-51/+74
Change-Id: I399e0c0f39b18e63e254825b6322faf77896a264 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change Decoder_c class name to decoder_tRomain Forlot1-7/+7
Change-Id: I0f07e9a21cf067f6e3ceab73524628eb4ec731e9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change CanMessage_c to can_message_t class nameRomain Forlot1-2/+2
Change-Id: I58a8d05ef226c22c9218cd3bf4932216e33f0de0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-15Change way to iterate over found signalsRomain Forlot1-23/+93
Change-Id: Ib0a88b1a978f74e0cadf30b0cdf3a5d21c06333d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14Decode a can message and construct a VehicleMessageRomain Forlot1-9/+10
to populate the queue before pushing it if needed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14First raw write to decode CAN messagesRomain Forlot1-4/+40
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14Move sources into src directoryRomain Forlot1-0/+40
make some cleaning Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>