[Ovmsdev] BMS generalization
Robin O'Leary
ovmsdev at caederus.org
Thu Nov 22 23:32:12 HKT 2018
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20181122/5563afc9/attachment-0002.sig>
More information about the OvmsDev
mailing list