Skip to main content
Open topic with navigation CAPL Functions » K-Line » KLine_SetHeaderFormat

KLine_SetHeaderFormat

Valid for: CANoe DE

Function Syntax

Description

Configures the used header format.

Parameters

  • useAddresses
    0: Address bytes are not used.
    1: Address bytes are used.
  • forceLengthByte
    0: No Length byte will be sent.
    1: Length byte will always be sent.
    2: Length byte will be sent for frames greater than 63 bytes.

Return Values

On success 0, otherwise a value less than 0.

Example

KLine_UseDefaultHeader