22 Nov
2018
22 Nov
'18
7:32 a.m.
I have used this to add support for the Leaf. Very cool! I also added a new way to process incoming poll replies: void OvmsVehicle::IncomingPollComplete(canbus* bus, uint16_t moduleid, uint16_t type, uint16_t pid, uint8_t* data, uint8_t length) Instead of implementing IncomingPollReply() and handling each frame as it arrives, vehicles can instead implement IncomingPollComplete(), which gets called once after all the frames are concatenated into data[length]. Robin.