Changes between Version 26 and Version 27 of BlueCAN


Ignore:
Timestamp:
02/03/13 06:31:40 (11 years ago)
Author:
Boris Ioffe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BlueCAN

    v26 v27  
    7171Standard CAN message example:  ID=76h
    7272byte0 - 07h        (incoming CAN MESSAGE)               
    73 byte1 - 00h    (00h=b00000000 bit.7=0 standard message)                 (this is byte.1 of std.ID excluding high 5 bits in this byte)
     73byte1 - 00h    (00h=b00000000 bit.7=0 standard message)  (this is byte.1 of std.ID      excluding high 5 bits in this byte)
    7474    //if byte1 bit7=0 expect 1 more byte for ID
    7575
    76 byte2 - 76h                                                             (this is byte.0 of std.ID)
     76byte2 - 76h                                              (this is byte.0 of std.ID)
    7777byte3 - DLC        (message data length code. also the payload.  8 in this example)
    7878   byte4 - 01h  (byte.0 of data)
     
    9595Extended CAN message example:  ID=76h
    9696byte0 - 07h        (incoming CAN MESSAGE)               
    97 byte1 - 80h    (80h=b10000000 bit.7=1 extended message )               (this is byte.3 of ext.ID excluding  high 3 bits in this byte)
     97byte1 - 80h    (80h=b10000000 bit.7=1 extended message )     (this is byte.3 of ext.ID excluding  high 3 bits in this byte)
    9898    //if byte1 bit7=1 expect 3 more bytes for ID
    99     byte2 - 00h                                                        (this is byte.2 of ext.ID)
    100     byte3 - 00h                                                        (this is byte.1 of ext.ID)
    101     byte4 - 76h                                                        (this is byte.0 of ext.ID)
     99    byte2 - 00h                                              (this is byte.2 of ext.ID)
     100    byte3 - 00h                                              (this is byte.1 of ext.ID)
     101    byte4 - 76h                                              (this is byte.0 of ext.ID)
    102102byte5 - DLC        (message data length code. also the payload.  8 in this example)
    103103   byte6 - 01h  (byte.0 of data)