Skip to main content
Open topic with navigation CAPL Functions » Ethernet » AVB Interaction Layer

AVB Interaction Layer

Valid for: CANoe DE • CANoe4SW DE Ethernet
Only available with Option Ethernet.
To use the CAPL functions the AVB_IL.vmodule must be included.
ON THIS PAGE:

Callback Functions

  • OnAvbConnect: Is dispatched when an asynchronous connection operation completes.
  • OnAvbListen: Is dispatched when a connection request for the specified Listener is received.
  • OnAvbReceive: Is dispatched when an asynchronous receive operation on a Listener completes.
  • OnAvbSend: Is dispatched when an asynchronous send operation on a Talker completes.
  • OnAvbSendPrepare: Is called right before a packet will be sent by the AVB stack.
  • OnPtpSendPrepare: Is called right before a packet will be sent by the gPTP stack.

Control Functions

General Functions

Listener Functions

  • AvbAccept: Accepts an incoming connection request on the specified Listener resulting in a new Listener.
  • AvbCloseListener: Closes the Listener.
  • AvbListen: Causes the Listener to listen for incoming connection requests.
  • AvbOpenListener: Creates a Listener for use in connection-based, message-oriented communications.
  • AvbReceive: Receives data into the specified buffer.

Listener/Talker Functions

  • AvbGetMediaType: Gets the media type for a Listener or a Talker.
  • AvbGetProtocol: Retrieves the bit depth of an AAF sample in the stream received by the Listener or originated by the Talker.
  • AvbGetStreamId: Retrieves the Stream Identifier (ID) of the Listener or Talker.
  • AvbGetStreamSourceAddress: Retrieves the stream’s Source Address of the Listener or Talker.
  • AvbGetStreamUniqueId: Retrieves the stream’s Unique Identifier (ID) of the Listener or Talker as part of the Stream Identifier (ID).

Talker

Media API