FD_MESSAGE (STRUCT)ΒΆ
TYPE FD_MESSAGE : STRUCT
This structure defines a CANL2 FD message. Only use this structure if you are using unmanaged CANL2 functions (functions with underscore).
For unmanaged CL2 functions the returned handle hMsg can be interpreted as a pointer to this structure because no resource manager is involved.
For interpreting the structure members use the bit masks defined in MASKS.
- InOut:
Name
Type
Initial
Comment
cobIdContains CANID and Tx/Extended Identifier bit. Use appropriate bit masks defined in MASKS for calculating the correct value.
byMessagePropertiesBYTEcontains message properties (e.g. bitrate switching, error indicator). See MASKS.
abyReservedARRAY [0..6] OF BYTE
Reserved! Do not use!
dwTSPDWORDReceive message: Rx timestamp (set by driver, if supported); Transmit message: time to live. After this time the message will be discarded by the driver (if supported).
byInternalBYTEused internally as priority field (do not change!)
byNetBYTECAN Network ID this messages belongs to (do not change!).
eTypeBUSTYPE.CAN_FD
do not change!
byLenBYTEcontains the data length
abyDataARRAY [0..63] OF BYTE
message data