summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>