Derivate socketcan to multiple child depending upon socket CAN type.
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 3 May 2017 15:52:34 +0000 (17:52 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 3 May 2017 15:52:34 +0000 (17:52 +0200)
commit71798df5325efe6005fb87dad8a3489e656021f0
tree58cbafa903642012e5d4376de606ca786c885f23
parent82642e99f93cc62329f34a5f7b3656a5331f1c43
Derivate socketcan to multiple child depending upon socket CAN type.

Use to initialize raw, bcm and later isotp socket. Now we should have,
1 BCM socket by signal to make filter on them. 1 raw socket by devices is kept
to use diagnostic manager as is.

Change-Id: Icb2daddf67039479f72bc487d53971adc9aba638
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/utils/socketcan-bcm.cpp [new file with mode: 0644]
CAN-binder/low-can-binding/utils/socketcan-bcm.hpp [new file with mode: 0644]
CAN-binder/low-can-binding/utils/socketcan-raw.cpp [new file with mode: 0644]
CAN-binder/low-can-binding/utils/socketcan-raw.hpp [new file with mode: 0644]
CAN-binder/low-can-binding/utils/socketcan.cpp
CAN-binder/low-can-binding/utils/socketcan.hpp