Group isotp_defines¶
Internal protocol definitions and type structures. More...
Detailed Description¶
This group contains the low-level building blocks used by the ISO-TP core (frame layouts, PCI types, status codes, and timing helpers). These definitions describe how CAN frames are encoded/decoded and provide enums and constants that drive the state machine in isotp.c.
** **
- Frame layout structs: IsoTpSingleFrame, IsoTpFirstFrameShort, IsoTpFirstFrameLong, IsoTpConsecutiveFrame, IsoTpFlowControl.
- Frame container: IsoTpCanMessage and IsoTpDataArray.
- PCI type and flow status enums: IsoTpProtocolControlInformation, IsoTpFlowStatus.
- Return codes and protocol result codes: ISOTP_RET_OK, ISOTP_RET_ERROR, ISOTP_RET_INPROGRESS, ISOTP_RET_OVERFLOW, ISOTP_RET_WRONG_SN, ISOTP_RET_NO_DATA, ISOTP_RET_TIMEOUT, ISOTP_RET_LENGTH, ISOTP_RET_NOSPACE, ISOTP_PROTOCOL_RESULT_OK, ISOTP_PROTOCOL_RESULT_TIMEOUT_A, ISOTP_PROTOCOL_RESULT_TIMEOUT_BS, ISOTP_PROTOCOL_RESULT_TIMEOUT_CR, ISOTP_PROTOCOL_RESULT_WRONG_SN, ISOTP_PROTOCOL_RESULT_INVALID_FS, ISOTP_PROTOCOL_RESULT_UNEXP_PDU, ISOTP_PROTOCOL_RESULT_WFT_OVRN, ISOTP_PROTOCOL_RESULT_BUFFER_OVFLW, ISOTP_PROTOCOL_RESULT_ERROR.
- Byte order and packing helpers: ISOTP_BYTE_ORDER_LITTLE_ENDIAN, ISOTP_PACKED_STRUCT, LE32TOH.
- Status types and helpers: IsoTpSendStatusTypes, IsoTpReceiveStatusTypes, IsoTpTimeAfter, ISOTP_INVALID_BS, ISOTP_MAX_ERROR_MSG_SIZE.