Skip to main content

linUpdateResponse

Open topic with navigation CAPL Functions » LIN » linUpdateResponse

Function Syntax

  • dword linUpdateResponse(dword frameId, dword dlc, byte[] responseData); // form 1
  • dword linUpdateResponse(linFrame frame); // form 2

Description

Updates the response data of a specific LIN frame.

Parameters

  • frameId: ID of the LIN frame whose response will be updated. Value range: 0..63
  • dlc: Number of data bytes contained in the frame (Data Length Code). Value range: 0..8
  • responseData: An array of bytes which contains the response data to be set.
  • frame: The LIN frame whose response will be updated.

Return Values

Returns 1 if the response update succeeded, otherwise 0.

Example

linTransmitHeader