summaryrefslogtreecommitdiffstats
path: root/src/can-utils.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Re-arranging objects splitting all objects overRomain Forlot1-614/+0
separated files. Change-Id: Ifbdb2ea08704324e505a48ba3124df6f2af63c6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27Fix decoder_t methods to get it compileRomain Forlot1-2/+2
Change-Id: I283480bf434b00ade15bcb1dbc9d097c338caab4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27In class mutex and condition variable except for subscribed_signals mapRomain Forlot1-3/+14
For now... Change-Id: I133deb39fcd0660064b3b3c2a52f86ad37cb29c2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-27Changed the decoding functionRomain Forlot1-3/+3
Change-Id: Ib27fb13d4fb7959509400a3c2eff2859d1ce9c2b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-24Improve mutex lock logic.Romain Forlot1-1/+32
- 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-24Remove socket read management by systemd eventRomain Forlot1-11/+1
loop and use classic thread with a blocking read Change-Id: Iac5428009b57c727bb32bd4893bc3fe282ba35c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-23First draft about lock/wait thread management.Romain Forlot1-16/+21
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-18/+8
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-53/+47
Change-Id: I2115f7e7017786c343da4b70002c3b3785ba53ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Improve doxygen commentsRomain Forlot1-78/+174
Change-Id: I7506997865726a6caa28177a1f85713ae924336f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22Enhance error handling about can_message_t classRomain Forlot1-17/+109
Change-Id: I9fbda1110eea7a3bd7e5855739280aa10bce5a6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-22No more warning about not defined functionsRomain Forlot1-1/+2
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-22All queue under can_bus_t class and reading threadRomain Forlot1-36/+36
function with an additionnal can_bus_t object argument Change-Id: I6b0b9b66e83be59359bcd148e8b9f3350a085b64 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Multifixes: class and methods, typo, commentsRomain Forlot1-10/+10
Change-Id: I473de66a9d4119ce64c04bd7fa59654774ac3b8f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Fixed can bus class (almost)Romain Forlot1-4/+7
Change-Id: Icb76d26749e0e7b5f122676861ed09ac0c03be30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Handle error in returning a vector by returningRomain Forlot1-7/+7
an empty vector. Fix: typo Change-Id: Ibe859d3e67f6eea96b50e04cd230657be56a18c6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Clean up include statement...Romain Forlot1-2/+23
Change-Id: Ie909836171ea5eb030246255bb08f1c5b8a65641 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Some cleaning and commentsRomain Forlot1-29/+3
Change-Id: Iad73e3a34c5638e012819506b56741f62cfa3e30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Cleaned up, a bit, include statement.Romain Forlot1-2/+0
Change-Id: Icdaa162f1b3b92e730fc7dc263c18c682a7f4098 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Fix: OBD2_PIDS array initializationRomain Forlot1-76/+98
Change-Id: Ic2c297e4ff94a13872f066ca42ee42beb45451ca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Fix: timer.* issuesRomain Forlot1-63/+54
Change-Id: I1c3721403198b3c5525a811bd3c7cbf6b8e78e5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Separated can_bus and can_bus_dev object.Romain Forlot1-6/+7
Now there are as many thread reading as can bus device Change-Id: I65928b39714f3a0e76e588de3db10d091ad5093d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Rename header file to hpp.Romain Forlot1-0/+394
Change-Id: I399e0c0f39b18e63e254825b6322faf77896a264 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>