[Ovmsdev] Extended CAN Frame support on CAN2/3
Mark Webb-Johnson
mark at webb-johnson.net
Tue Oct 10 08:21:36 HKT 2017
Greg,
Looks good. I’ve merged it in.
Regards, Mark.
> On 10 Oct 2017, at 4:20 AM, Greg D. <gregd2350 at gmail.com> wrote:
>
> Hi folks, (Mark, in particular),
>
> I've tweaked the mcp2515.cpp code to support Extended CAN frames on CAN
> 2 & 3. Needed this for the OBD2ECU code, but it's there for anyone else
> who may want it.
>
> Mark - I did a bit of this by trial & error, since some of what I was
> doing wasn't working as I expected it would. Bits upside down, that
> sort of thing... So I expect some of the middle bits around the three
> frame flags is wrong, particularly on the transmit side, but for the
> PIDs I use, the results I get match what Wireshark decodes. So, I think
> it's close.
>
> Greg
>
> p.s. Got my first CAN 3 bus hang too... hope it's not related. :)
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
More information about the OvmsDev
mailing list