summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-02-21Clean up include statement...Romain Forlot7-45/+67
Change-Id: Ie909836171ea5eb030246255bb08f1c5b8a65641 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Some cleaning and commentsRomain Forlot4-55/+26
Change-Id: Iad73e3a34c5638e012819506b56741f62cfa3e30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Cleaned up, a bit, include statement.Romain Forlot9-55/+43
Change-Id: Icdaa162f1b3b92e730fc7dc263c18c682a7f4098 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-21Fix: OBD2_PIDS array initializationRomain Forlot13-373/+533
Change-Id: Ic2c297e4ff94a13872f066ca42ee42beb45451ca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Fix: timer.* issuesRomain Forlot10-273/+238
Change-Id: I1c3721403198b3c5525a811bd3c7cbf6b8e78e5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Change hpp include file directiveRomain Forlot3-97/+76
Change-Id: I1df7ab41b19a2c065d8ed477115e21e0ded8659f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Separated can_bus and can_bus_dev object.Romain Forlot3-103/+236
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-20Addind missing libraryRomain Forlot1-0/+7
Change-Id: Ic793d097eb9773e455e1bfbb95d57565a003cd53 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Include supplementary libs and fix includeRomain Forlot2-9/+2
Change-Id: I521ededa95c3b5f4507b86f162f04bf28474e440 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-20Rename header file to hpp.Romain Forlot10-173/+200
Change-Id: I399e0c0f39b18e63e254825b6322faf77896a264 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change way to iter over vectorRomain Forlot1-12/+15
Change-Id: Ic06f1aaafb839d8d06c839b60ec440031bee89ed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change way signaling end of queue for can messagesRomain Forlot2-2/+21
and vehicle messages Change-Id: I98fbc5995ff08facc5430cce92830aa878dc3dc9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change Decoder_c class name to decoder_tRomain Forlot2-8/+8
Change-Id: I0f07e9a21cf067f6e3ceab73524628eb4ec731e9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change to push_back instead of insert.Romain Forlot1-3/+4
Change-Id: If4c03e71894fecf4a926ae314d2b8ef0c54950ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Add can_message_t constructor. Make the classRomain Forlot2-43/+44
compliant with new typo Change-Id: I69b7247d841b58183e7863600072a79b2a9be1c6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Change CanMessage_c to can_message_t class nameRomain Forlot7-38/+38
Change-Id: I58a8d05ef226c22c9218cd3bf4932216e33f0de0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Changing CanBus_c to can_bus_t class nameRomain Forlot6-49/+56
Change-Id: Ibf277e36187b78853718f76552ff730d0474a3e6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Adding canbus read methodRomain Forlot2-19/+69
Change-Id: I438d885516e9cbe499d333ff3065c5e9d6d4d99a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Use initialisation list with CanBus_c constructorRomain Forlot2-50/+46
Suffix with '_' object var member Make const get method about Change-Id: I9a581cfa58070bf8c13714867a6d202db3822989 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-16Fix: wrong binding extensionRomain Forlot1-2/+2
Change-Id: Id28b2b1be781e7ef93d4b16643d8b859ca3cab43 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-15Externalized afb_event, no more in CanSignalRomain Forlot1-2/+0
but in a separated map struct subscribed_signals Change-Id: I82ad127466ee0c16882040952bb395b3c8f26622 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-15Make public OBD2PIDRomain Forlot1-1/+2
Change-Id: I9879bf83fc57f8f480ff43d27e2fc6635fb1d6f7 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-15Fixed subscribe/unsubscribe operations.Romain Forlot2-19/+52
Change-Id: I79c2f32801bf72e12b3e2da45e2eb2939cb5f85e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14Jsonification of VehicleMessage and push eventRomain Forlot1-3/+46
to subscriber. TODO: seperated map between signal name and afb_event. 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-14Add VehicleMessage queue methodsRomain Forlot2-1/+26
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14Implement CanMessage_c method to navigate throughRomain Forlot3-19/+32
can_message queue (get/set) Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-14Implement GetSignals methodRomain Forlot1-9/+26
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 Forlot21-0/+1762
make some cleaning Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>