aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-11CleaningRomain Forlot1-1/+1
Change-Id: I5ef9bad2ef398d3d293c3fc2edc18271042455f4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Handle simultaneous subscription to diagnostic messages.Romain Forlot2-9/+16
Delay new recurring requests if there are already existing in flight and cleanup active request to correctly set in_flight_ flag to false else new request can't be launched as there is always an old one considered running... Modify a little bit DEBUG message and cleanup useless code. Change-Id: I39f865bbc6d00188d3cddd1d81437b9e3ca51269 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Handle cancel active diag requet when there are no more subscribersRomain Forlot5-23/+48
When push events if there is no more subscribers to that event then call a function that will cleanup that request from diagnostic manager queue. Change-Id: I8153701074453444a5bba6f1374401bdf230f7e6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Fix: unsubscription to diagnostic messages.Romain Forlot2-6/+14
Unsubscriptions weren't managed anymore since we handle supported flag in diagnostic messages. Now it's back, unsubscription against appfw is done as well as canceling recurring active diagnostic request. Change-Id: I22ebba771646624cb323e72dd7bf21027b6c6ba7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Get recurring requests suspend proof.Romain Forlot1-2/+2
Change to CLOCK_BOOTTIME instead of CLOCK_MONOTONIC Change-Id: Iaa1a65a80e3aaa8e622ea1e3eb4b6a36b4dcd225 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Fix: Empty every queue before unlock mutex.Romain Forlot1-18/+25
Make sure that we finish to process every message in queue before refill them cause' CAN read run faster than decoding and pushing event. So it's a try to get all message processed. Change-Id: Idce2bc4d79920adc2bf478177c4e3defed39867b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Improve detail in DEBUG message at recurring request submissionRomain Forlot1-3/+7
Change-Id: I93d0cbcae8e2cdf1144ffd981c93a109682c1685 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Port configuration parsing to a separate object.Romain Forlot2-0/+127
Change-Id: If5da63d2fdd498dcb6dde10469acaa91b00e60df Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Improve documentation and added can samplesRomain Forlot4-4/+674291
This explicit use cases with virtual CAN device or Porter board CAN devices Also, it add a complete trip with "vehicle.speed" obd2 signal recurring requests. to be use with canplayer to replay a real car trip. Change-Id: I66c762fa23ed409c812765d6d82e78138edbd455 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Erase compilation WARNING.Romain Forlot4-11/+5
Useless tests and type cast about numbers. Change-Id: I6fe13b7dfec8529520730f83e83d2dd3da3a674c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Fix: wrong pointer validity check...Romain Forlot1-1/+1
Change-Id: Ia47159fb18797681fb1dd132be5173e167d8850b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-11Fix: don't clean recurring request except if forcedRomain Forlot1-4/+3
Change-Id: I669fc1f0b078e151dfb0cbb17c3d626bb43930d2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-31Fix: commands typoForlot Romain [IoT.bzh]1-2/+2
Merge pull request #1 from shogun656/master
2017-03-31Update README.mdWesam Haddad1-2/+2
was annoying me :)
2017-03-31Added some new OBD2 signalsRomain Forlot1-0/+14
Change-Id: Ied85c5acef8e9ce215c01166180fc07d5c5b0dcd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-23Comments.Romain Forlot2-2/+3
Point to branch v1.0 instead of master Change-Id: I70b6b0e35dbbdd78840fda893c6028b2e3975afc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-23Max in flight requests set to 8Romain Forlot1-0/+10
Change-Id: If2acf83a0f01741c90cab15e10188b2aeffd88b3
2017-03-23Added configuration-generated file to ignored fileRomain Forlot1-0/+1
Change-Id: I2a04c0852c2b6c87391cf282c30cbcb669226c1d
2017-03-23Send diag request only if not other one with some id runningRomain Forlot4-29/+29
Fix: elapsed function return that do not compute elapsed_time at first time Fix: reworked should_send() to get it work with our scheduling workflow Reschedule trying to send request if recurring even it is in flight. Change-Id: Idce54cb9bf62616c891a8a25a6c478f931350bc7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-22Fix: make sure install execute sequentiallyForlot Romain [IoT.bzh]1-1/+2
2017-03-22Fix cover image (use imagemagick convert).Sebastien Douheret4-72/+73
Fix initial svg page size to avoid image distortion, and generate "real" jpg image using imagemagick convert tool
2017-03-22Justify textSebastien Douheret1-0/+4
2017-03-22Fix typoSebastien Douheret1-7/+7
2017-03-22Print status when pdf file has been generated.Sebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-03-22Specification of defaults available decoder.Romain Forlot1-0/+8
Change-Id: Ifde336309bd6358ee20bd8c45a06daf5ba3329c0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-21docs: fix Installation guideStephane Desneux2-3/+5
Change-Id: Ibd16454f0cbc7f2a3e17f8cf0580174de3df87e3 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-21Make copy to sdcard more reliableRomain Forlot1-1/+5
Change-Id: Ia7e9875f6999aa50f386c82945a430db93664254 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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>