CAN - Frame Format
Output Frame Format
Frame Type: "identifier_field"
"identifier_field"
Property | Type | Description |
| int | Identifier, either 11 bit or 29 bit |
| bool | (optional) Indicates that this identifier is a 29 bit extended identifier. This key is not present on regular 11 bit identifiers |
| bool | (optional) Present and true for remote frames |
Frame Type: "control_field"
"control_field"
Property | Type | Description |
| int | Number of data bytes in the transaction |
Frame Type: "data_field"
"data_field"
Property | Type | Description |
| int | The byte |
Frame Type: "crc_field"
"crc_field"
Property | Type | Description |
| int | 16 bit CRC value |
Frame Type: "ack_field"
"ack_field"
Property | Type | Description |
| bool | True when an ACK was present |
Frame Type: "can_error"
"can_error"
Property | Type | Description |
undefined
Invalid CAN data was encountered
Last updated