Rework writing CAN message on CAN buses. 09/18109/4
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 20 Nov 2018 18:55:23 +0000 (19:55 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 22 Nov 2018 10:10:26 +0000 (11:10 +0100)
commit99682db67048b828705c9afe14d53b8305a07392
treee4301228aa99628918c171031a5b9a58a1f911b6
parent37379a61a19689c00e4e11ded644467c10b720ef
Rework writing CAN message on CAN buses.

- Adds the possibility to use a custom encoder function
- Use of wrap_json functions instead of raw json-c functions
- Return the error informations in the request return.
- Reduce conditionnal imbrication

Bug-AGL: SPEC-1965

Change-Id: I766b3cf3e6998d03a8a2f3e51117e8b26fc9b56f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-cb.cpp