Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_ManipulateMessage

FSIL_ManipulateMessage

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Modifies the content of a message generated and sent by the interaction layer. The message to manipulate is specified by PGN, destination address and a part of the first eight data bytes. Note: This function should only be used for messages whose contents cannot be changed via the contained signals. To revert this command you can use FSIL_ResetManipulatedMessage or FSIL_ResetAllManipulatedMessages.

Parameters

  • pgn: The message with this PGN shall be modified.
  • destinationAddress:
    • 0 - 255: The message which is sent to this address shall be modified.
    • 0xFFFFFFFF (-1): The destination address of the message doesn’t matter
  • filterMask: Defines the bits of the message which shall be used to identify the message.
  • filterValue: Defines the value of the bits of the message which shall be used to identify the message. If the value of the masked bits of a sent message is equal to this value then the data of the message is modified.
  • dataMask: Defines the bits of the message data which are modified.
  • dataValue: Defines the value of the bits of the message which are modified.
  • node: Simulation node to apply the function.

Return Values

  • 0: Manipulation is set successfully
  • -102: An invalid parameter is used

Example