Skip to main content
Open topic with navigation CAPL Functions » LIN » linConfigureResponseRange

linConfigureResponseRange

Valid for: CANoe DE

Function Syntax

Description

Configures a range of frames as response of a LIN node if no database is used. Note:
  • This function may only be called in the event procedure on preStart.
  • All of the array parameters must contain the same number of elements.

Parameters

  • frameIds: Array which contains the ids of every frame to be configured.
    Valid frame id range: 0..63
  • dlcs: Array of dlcs (Data Length Codes) which defines the number of data bytes for every frame to be configured.
    Valid dlc range: 0..8
  • responseData: An array which points to an array of 8 bytes which contains the initial response data to be set for every frame.

Return Values

Returns 1 if the configuration of all given frames succeeded, otherwise 0.

Example

linConfigureResponse