Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

OnAvbSendPrepare

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long OnAvbSendPrepare( dword talkerHandle, ethernetPacket * packet);

Description

If the CAPL program implements this callback it is called right before a packet will be sent by the AVB stack. Currently only packets of an AVTP stream are supported. It is possible to manipulate the content of the packet or to block the sending of the packet on the network.

Parameters

  • talkerHandle: The Talker handle.
  • packet: The Ethernet packet which will be send.

Return Values

  • 0: Block the Ethernet packet.
  • 1: Send the Ethernet packet.

Example

See Also