binding: add preinit function to load the config 99/23199/6
authorRomain Forlot <romain.forlot@iot.bzh>
Sat, 9 Nov 2019 17:09:30 +0000 (18:09 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 13:39:56 +0000 (14:39 +0100)
commitdb13354c18e888d04b776e584addb668d8614da4
tree19f5b1b2a68eecfef6948ca92d4f6614f4cfde64
parente1caf27db81e9897af7512a0b47e0783593833d5
binding: add preinit function to load the config

Make as the others bindings using controller and load its configuration file
at preinit step.

diagnostic-manager: Change way to initialize the diag bus

This was kind of hardcoded and now, it is initialized by a configuration key
of the controller configuration JSON file.

Bug-AGL: SPEC-2988

Change-Id: I344c1982893e47600a0b8cd03542de8069a42d24
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/application.hpp
low-can-binding/binding/low-can-apidef.json
low-can-binding/binding/low-can-cb.cpp
low-can-binding/binding/low-can-subscription.cpp
low-can-binding/diagnostic/diagnostic-manager.cpp
low-can-binding/diagnostic/diagnostic-manager.hpp