[Ovmsdev] CAN Bus ID Data Byte Numbering Problem
mark at webb-johnson.net
Sun Dec 30 14:55:48 HKT 2012
I've always seen it described as B1, B2, ... B8. But, b..b is equally acceptable.
How about we say either b or B3 if we mean the third byte of the can bus message. Use the [ ] to reinforce that it is an array index?
In the tesla roadster canbus notes, it has a little explanation:
Bytes are numbered B1 to B8 not B0-B7
bits are numbered bit0 to bit7
Byte pairs are in little endian order (e.g B4*256+B3)
On 30 Dec, 2012, at 3:14 AM, mikeljo at me.com wrote:
> Hi everyone,
> we have a little big Problem. :-)
> Computer Nerds, programmer etc. start counting by 0 (zero).
> The CAN Bus Data Byte descriptions say D1, D2, ... , D8
> 5EC 8 FE 47 69 00 00 00 00 00
> So, what do you mean with Byte 2? Is it 47 or is ist 69?
> As a programmer i say it is 69.
> But other People say it is 47.
> I think it is essential that we have one base.
> Lets start counting with 0. So the value from above is 69.
> Michael J.
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OvmsDev