aboutsummaryrefslogtreecommitdiffstats
path: root/src/can
AgeCommit message (Collapse)AuthorFilesLines
2017-03-16Cleaning old can_bus_dev_t now implementedRomain Forlot4-162/+30
separatly Change-Id: I4529100f118afe25aee747d36a77dc5b533878a5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Conflicts: src/can/can-bus.hpp
2017-03-16Make convert method static to get called at the returnRomain Forlot2-153/+80
statement of read. Also clean unsafe function, that can't be called separatly because they need to get called in a certain order. Change-Id: I5670f0cd1c0fdea4f228045b9124ecd60097ebb2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix all doxygen comments about parameters.Romain Forlot6-64/+64
Change-Id: Idbe268d07ebf53a63c9543d9cca94ded34a29731 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix : wrong attribute typeRomain Forlot1-1/+1
Change-Id: I8a87c295d4d76a5551fbb67b04b9fee69644eb00 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Fix: missing method declarationRomain Forlot1-0/+1
Change-Id: Iac5872ffe9f4b26e7c966e5ea29516f193ba547d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Remove moved functions into configuration classRomain Forlot1-26/+0
Change-Id: Ia8aa6a9f6211c2e040f53972ba689aecdeda9011 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Make dumb poco class from old C structRomain Forlot2-7/+16
Change-Id: I1cae74b33e1351bb84d002e86f93c9329f8389f0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Add movable constructor to the classRomain Forlot1-0/+1
Change-Id: I4d050fda9b189e4d88393013c2b6c893063f24db Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Added a warning that it is an example codeRomain Forlot2-0/+57
Change-Id: Ib66e49960a348896020fba56f7d98910623af83f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16separation of can_bus_t and can_bus_dev_t and use of the new socket class.Loïc Collignon4-159/+208
Change-Id: I5f292ab18737fa48259f357d660fed27fb8fb4be Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-16Change doxygen commentsLoïc Collignon1-37/+20
Change-Id: Ia635a7483e2fcda3b98fd3d3b3f7e996d26926d0 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-03-16Beginning of work of get central configuration objectRomain Forlot3-67/+15
that will be used by the binding to access generated elements. It will hold generated structure/objects and make a resume to the binding configuration. Idea is to have an object that can be inherited in the generated code to extend its functionnalities or change some of its behoviors. Change-Id: If2ce5cbe2eb98a74a8e3f13000ee02855674216f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16It isn't needed to initialize diag managerRomain Forlot2-8/+2
for each can_bus_dev_t instance Indeed, generator will write the diag manager objects statically with the correct can_bus_dev_t instance to use. Change-Id: Ib52d93bff576ef962dc141f5936133e878977017
2017-03-16Introducing diagnostic manager class.Romain Forlot2-7/+11
It will hold communication through uds-c lib allowing to communication with diagnostic protocol obd2. It is attached to can_bus_dev_t class 'cause it must regularly send CAN message through it. Change-Id: I2d9d8dfaca10e9865bf82b0ae83e65490ca982f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Include file changes, typo and renaming operation.Romain Forlot4-14/+14
Change-Id: I6643333cfcc8bea120496c53f1cd3b8596e33398 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Finalize new directories organization.Romain Forlot3-8/+8
Change include statements and CMakeLists.txt accordingly to the new layout. Change-Id: Ief0821f7f6636b072cf26c7d8d8fcc16fe43ab01 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-16Beginning of work on obd2 object andRomain Forlot9-0/+1781
files reorganization. Change-Id: Idaa7ad05c45d734ce771506fd6e41f1a09a6ac66 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>