Skip to main content

A664ResizeMessage

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

The message object’s payload area is resized to match the new payload size. This affects the selectors Length and AfdxLength. If the current aMessage headers are valid (see AFDX packet validation rules), the corresponding header content is adapted as well (IP and UDP headers).

Parameters

  • aMessage: Message object to be resized.
  • newSize: New payload size (without counting sequence number) in range 0..8192.

Return Values

  • 0: Resize failed.
  • 1: Resize successful.

Example