summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Initialize CanBus_HandlerRomain Forlot1-1/+18
Also added licence Change-Id: I629624186f720ca4fa9b7a4f91d014e0bc02b0db Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-13moved files to obsolete dir, again...Romain Forlot2-714/+0
Change-Id: I231bf9cd4211392addf25495c2147acc32b0950a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-13move to obsolete dir old codeRomain Forlot3-4/+718
Change-Id: Id8cd5a3441b655163d6311334874d88882af21b6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-09Add obd2 prefix to signals name to be able toRomain Forlot1-19/+19
filter by the signal name the type. Change-Id: I8ae19456f76f361c1c773b99e3e5fc021b0f4451 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-09Re-implementation in C++ and separate threads toRomain Forlot5-0/+443
read, decode and pushing on the event loop. Old code has been moved into obsolete directory. Change-Id: Ia389ab84a1dc566c48e0269f2466843de0e51158 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-09Add CXX flagsRomain Forlot1-0/+5
Change-Id: I8a72ac5a57e20a0e56658efc7c6fccdb6e3bec00 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-09Added simple openxc cpp generated codeRomain Forlot3-0/+289
Change-Id: I9f394653af4407cf1e2f03e5d20df5f7fb6f54d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-02CPP conversion beganRomain Forlot3-85/+65
Change-Id: I4d20e7537b1ee3b00fcaa42146b3f2681741074d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-02Adding header files to get implemented !Romain Forlot4-0/+445
Change-Id: Ie4876b3c053988554a97868681b7b08f9c486111 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-31Change subscription/unsubcription logicRomain Forlot3-113/+179
Add max, min and units to OBD2_PIDS and add some PIDS Change-Id: I14b9c3dc8775674c47ea3e16c5cf2ba109a0bbef Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30some can sample from a recent Ford Focus, using the OBDII connectorLoïc Collignon24-0/+181350
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-01-30Code restructurationRomain Forlot2-124/+114
Change-Id: I5acd8288984d42d8487091d38511a05f0fd703c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Change unsubscribe behavior to unsubscribe all event of a given idRomain Forlot1-22/+30
Get rid compilation warning message. Change-Id: Ia8fdeecaced545b64a50ea4993b09771043cb8b8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Comment useless code before cleanupBuilder2-21/+49
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Check that socket is opened before read.Romain Forlot2-72/+95
And some cleanup Change-Id: Ib3ccf158f141a55e3356f811985d5dcf0dd5fe0c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Added OBDII header file describing predefined PIDsRomain Forlot1-0/+53
Change-Id: I1fcb303c45b0de5b13cd8867fe18de0b76dcd610 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Add coyright to header fileRomain Forlot1-0/+17
Change-Id: I3c679f586b596264378b919790b2c06358af50f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Fix: change project avoiding uppercaseRomain Forlot2-2/+2
Change-Id: Ia9d457c253b170577b6ffeb23eebaeddf0937ec2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Reworked open_can_dev function and can_handler structRomain Forlot2-187/+282
Change-Id: I787730cf2ef8dfd7b1db7f9add51700401e013c1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Added CAN messages samples from Toyota Auris carRomain Forlot15-14/+24979
Change-Id: I740384fbc7a3814b4817fce434d55c14108f8232 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Clean up old fileRomain Forlot1-559/+0
Change-Id: I569b0686b7f86718759f7a3f5dac4ae35d97a151 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-30Added needed files to easy compilation and outputRomain Forlot4-0/+667
widget file to install on target. TODO: Add unit service file to start using systemd Change-Id: I347255fd54f48d01bf762db8b5a207fa5fa5cf7a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-20Added nanopb submodule instead of having it insideRomain Forlot2-0/+12
openxc-message-format. Change-Id: Ic5a0a95e9fbf575acee5f800b23e39cb1bf8de5c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-18Just comment to get rid of compil error. Some works tbd !Romain Forlot1-9/+6
Change-Id: I459f35fd943bc599c97a0dcec34c03c7885b555a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-18Simplify read and frame format detection at device opening.Romain Forlot1-53/+106
Need cleanup... I mess around lot of code pieces ! Change-Id: Ic081d23242ebfd8f2df70e7301e62159b944a294 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-18Some cleanup and rearrange the codeRomain Forlot1-139/+134
Change-Id: I179cb4cd5623742bc500590c64f9194cbbf3f961 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-17Change read function and some clean upRomain Forlot2-0/+12
TODO: parse can_message read and put it into an opencx_CanMessage... Change-Id: Idbadcd7b34c1bb63eb6ae31a4588cdde873d7a1c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-13Add licenseclaneys1-0/+201
2017-01-13First commit: work has to be done...Romain Forlot2-0/+515
Change-Id: Iad7a1780280064e0ff6970c21423ba825dd333dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-10Initial commitRomain Forlot1-0/+6
Change-Id: Ie9aabe9cd90d89692ac8260b828713913bb0f4e6