summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21Adding sourcing yocto build env fileRomain Forlot1-6/+11
Change-Id: I8950fb17cf7431070772379d1b8ce52a0a689fbd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Reworking execution order to make it more simple.Romain Forlot1-13/+17
Rework clone order as well as directory location to make sure cloning in separate directory. Change-Id: I2ac3adecf363af7b702462d4a5af1f2c84220900 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Added a CAUTION mention and fix some commandsRomain Forlot1-3/+9
Change-Id: I460f73da5efb0e9156b53ba35fef598dc6c46a7d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Fix: use the cmake from SDK instead from docker imageRomain Forlot1-43/+7
CMake from docker image isn't at the right version, to get one with a more recent version we have to use the one built for the SDK. Some cleanup of CMD output uneeded and typo Change-Id: I8cb30f9b8203f8c4ff1cd771e4773264a9cddc6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Change binder to binding in title in use with gitbookRomain Forlot1-2/+2
Change-Id: Ia1474c5ae8e88a5a139f26e9da0c5d96898e7499 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Detail some instructions.Romain Forlot1-0/+5
Some instructions miss some details to get properly executed. Change-Id: I973a21f31fb685bbd82021101989cbc03764a23f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21TypoRomain Forlot1-1/+1
Change-Id: Ic820ac312553bd5b8b630ad2d2cbbdcc4bb590f7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Make IoTBZH smaller.Romain Forlot3-3/+3
Change-Id: I02d94a2a787a55fa890edd20f8b1f92a6ecfe23f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21Path from CANoe db to JSON files using OpenXC utilities.Romain Forlot1-5/+63
Added naming convention description. Change-Id: Id2524dcde2af3c82f49166f3e662f75580dbc6a1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Conflicts: docs/2-Installation.md
2017-03-20Documentation: reviewed and updatedStephane Desneux9-53/+55
Some fixes: * document title * gitbook-plugin-richquotes disabled due to bad rendering * TOC titles and ordering Change-Id: I09b133f45a32b179ca4d1e8e13ea3b1e2fdb795b
2017-03-20Fix commentSebastien Douheret1-1/+1
2017-03-20Use svg instead of png image in cover root svg fileSebastien Douheret5-2305/+122
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-03-20Remove root cover file cover.xcf, now replace by cove.svgSebastien Douheret1-0/+0
2017-03-20Use bash script to generate doc instead of cmakeSebastien Douheret3-29/+78
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-03-20Add documentation coverSebastien Douheret4-0/+2408
2017-03-20Adding instructions to monitor CAN traffic.Romain Forlot1-1/+17
Change-Id: I80668eaccb25d8df07025aed3563bfc9d94a1271 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Rename to the standard name Doxygen config fileRomain Forlot1-0/+0
Change-Id: I160f62e0e1ff516fb3ec3333decccceb89872c0d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20More accurate diagram since we do not use OpenXC generatorRomain Forlot1-0/+0
Change-Id: I06266d4a08f1717978c2c7f14abeab3867fe7b64 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Improve documentation with config generation instructionsRomain Forlot1-3/+94
Meld can-config-generator instruction in installation documentation to have an all included documentation about CAN binding. Fix: set the exact reference about the OBD2<->DB9 cable. Change-Id: I97f14e8f2deadbea10050a50379bb72629074f6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Add targets to build documentation with instructions.Romain Forlot3-4/+68
Change-Id: I037ab5d94e17147aba998131e92c1ec920293fa9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Use gitbook to manage documentationSebastien Douheret26-357/+1000
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-03-20Update toyota exampleRomain Forlot2-22/+22
Change-Id: Ied4f715b486a2d4ef2b5ba4d49bbc339f95bffad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Spellchecking and typoRomain Forlot1-18/+26
Change-Id: I1f1c2cbc68e3c25d827657e2d08822e45a59d275 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Make error goes back to the subscribed clients when unsupported.Romain Forlot2-1/+1
Change-Id: Ic864803c8dffdab3cc9bf5bf281ce032600a732f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-20Fix: Avoid segfault if diagnostic bus isn't correctly set.Romain Forlot3-10/+24
There is a segfault when binding configuration doesn't matches configuration generated. Improve general CAN bus device initialization. Change-Id: I17ea94ee54841d09ac63a7ffad303a88d99e0173 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-19Fix bad handling unsupported OBD2 messages subscription.Romain Forlot2-3/+4
Testing supported boolean wrong and gave a null pointer to a function that doesn't check the pointer validity. Change-Id: I49e88a68f266546dbd257b0fdade860cead1322d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-18Improve Toyota examples.Romain Forlot4-130/+142
Generate a new version of the configuration generated for Toyota Auris 2010. Remove the one from src directory. It has to be paste prior to build the binding once generated. Change-Id: I0b8e5415df0d0fade70dfa193ad45770c6db38dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-17added toyota's exemple.Loïc Collignon2-0/+451
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-17Typo and formating and rework somes sentences.Romain Forlot4-14/+49
Change-Id: If222728bfc9120065fd56f0877d3736634f6fc52 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-17Comments fixes, typo and formating.Romain Forlot21-603/+575
No more warning when generate the docs and all comments follow the same formating. Change-Id: I80d4c5c2d64401c2e53a550c60155680c4f968ce Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-17moved exemples files.Loïc Collignon3-0/+0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-17Convert svg to png for the docRomain Forlot7-1111/+3
Change-Id: Ia62cba8da3db425d63c18104d597cd577f9651ab Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-17Adding some abstract to the READme.Romain Forlot4-1/+1132
Present the CAN binding architecture. Change-Id: I7ab2a96e468a57e882a2eca93aedaacdc057794b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-17Improve READme instructions.Romain Forlot1-18/+191
Change-Id: I8b507d3e34ed3d34680e6e15b7f97b7e17fc1c4f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Diagnostic requests will occur depending on their frequency.Romain Forlot1-1/+1
Hardcoded offset was for testing purpose, now we can use frequency offset. Change-Id: I920e61cd8f587ead9c77aec158edb4dee28b927d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Wrong error handling when fire diagnostic request.Romain Forlot1-6/+4
As returned code was negative value the sd_event_source stopped considering that was an error. If statement was to check that sd_event_set_enabled was ok, so unref and return wasn't at the right location... Change-Id: I91cc943c20af80a31b4f66f5714ccef93c0fdbd2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Generate a configuration example with diagnostic messages filled too.Romain Forlot1-120/+36
It was filled by hand for the moment. Change-Id: Ie72cd670bbc9c7a568507290f4bb25019ec58098 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix: decoded name will be prefixed as at subscription.Romain Forlot1-1/+1
Reason is that the simple message is used to match a subscribed signals in the map. So it has to be the same that at the subscription. Change-Id: Ie9504583948027523a7288b5e4a20707c49b6d59 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Doxygen base configuration file and logo.Romain Forlot2-0/+2548
Change-Id: If1fbbefa386e1e72121ff28fce6f55569129272c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16gitignore updateRomain Forlot1-0/+1
Change-Id: I97af1fab19d7d071e7c34d4149ae67442f257690 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Include cleaningRomain Forlot15-23/+19
Change-Id: I5df96540400b833e684001f8fc5fa33ff1892bae Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Adding missing doxygen comments.Romain Forlot12-162/+332
Made some cleaning about unused things or obsolete. Review existing comments, adding missing comments. Reformat some long long constructor. Change-Id: Ibae247d1295a7a85b49d0ecee473022755d42b8b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Generated cpp file example.Romain Forlot1-60/+163
Change-Id: I1608db0120a0501af0e4327fe348ef149d90bad4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Use index number between objects to set their links.Romain Forlot6-22/+75
Needed to use generator. Change-Id: I82b44fa1e53c55e2cd90ae7017906a22b7f0636e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-16added a folder to ignore in .gitignore.Loïc Collignon1-0/+1
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-16Implement check of supported diagnostic PID.Romain Forlot5-3/+31
Supported boolean member about diagnostic messages is now used. When a response is received, completed but not successful, then set the diagnostic message as not supported and clean the request from the queue. Subscription remains for now, not cool but will be fix soon. Change-Id: Ia5dc78d4a770f80f144724f4df6eabd2ffd4b8cc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Improve commentsRomain Forlot2-2/+3
Change-Id: I1e43b0aeaff738db11695e77fee23e8c9809f0c1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Make unsubscription works with diagnostic message too.Romain Forlot1-11/+20
Now unsubscription really make unsubscription and stop polling diagnostic request. Change-Id: I31830c7af97506e1231fb5f1244c350520a2df29 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix commentsRomain Forlot1-2/+1
Change-Id: Ia838d06885bc95196c5afc3668c0b028cb0f2763 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix diagnostic message name mismatch at decoding.Romain Forlot1-1/+1
Retrieve adr name prefixed will add uneeded prefix as it is already present. At build time of a Diagnostic request from a diagnostic message, this prefix is added so adr name is already correct. *adr: active diagnostic request Change-Id: Ie5c364bf47a28c80290021651941cd37fa26321a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>