Use UDS PID has key to record subscriptions
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 1 Jun 2017 11:48:19 +0000 (13:48 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 1 Jun 2017 16:40:13 +0000 (18:40 +0200)
commitcc76d9863d8f528d6299b8ecdbfc2f7f437ac5de
tree8bc0cb6dd36bf021e5a5242d960cbc26018ba9e3
parente9b00c3af0c469726e32755715a69395ad1d3718
Use UDS PID has key to record subscriptions

can_signal_t use socket number but has for OBD2 diagnostic request
there is only 1 socket to listen all response then we use PID has key
to find the subscription later on the processing.

Change-Id: I5f0554e1a4ac43e1046d9b7b7f9bb00d3a753562
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/binding/low-can-cb.cpp
CAN-binder/low-can-binding/utils/socketcan-bcm.cpp