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

linSetRespBitStream

Valid for: CANoe DE

Function Syntax

Description

Sets up a bitstream as the response to the specified frame.

Parameters

  • frameId: LIN frame identifier in the range 0 .. 63
  • bitStream: The bitstream array to be sent as a response. Maximum number of bits: 2^31-1.
  • numberOfBits: Number of bits in the bitStream array to be sent.
  • timeoutPrevention:
    • 0: deactivates the timeout prevention for the 7259-transceiver.
    • 1: activates the timeout prevention for the 7259-transceiver.
  • count: Number of times, the bitstream shall be sent as a response before deactivating itself.

Return Values

On success, a value unequal to zero, otherwise zero.

Example

Send LIN response for the frame MotorControl as a bitstream.
linResetRespBitStream