Skip to main content
Open topic with navigation CAPL Functions » MOST » OnMostFiAmsPreSend

OnMostFiAmsPreSend

Valid for: CANoe DE

Function Syntax

Description

Parameters

  • msg: This variable contains the send request of the simulation node. The number of transmitted data can be up to 65535 bytes for a mostAmsMessage. For reasons of efficiency, only the first 200 bytes are copied to the msg variable. To facilitate access to the entire message’s user data, the message can be assigned to an AMS message declared with a sufficient size (see example below).

Return Values

  • 0: Original message is not sent
  • 1: Original message is sent without alteration

Example