Skip to main content

AvbSetMediaType

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long AvbSetMediaType(dword talkerHandle, dword mediaTypeHandle);

Description

Sets the media type for a Talker. Setting the media type means the Talker can expect data that conforms to that media type passed to its AvbSend function.

Parameters

  • mediaTypeHandle: The media type handle.

Return Values

  • 0: The function completed successfully.
  • >0: Error code

Example

See Also
  • AvbAccept
  • AvbCloseListener
  • AvbCloseTalker
  • AvbConnect
  • AvbGetLastError
  • AvbGetLastErrorText
  • AvbGetMediaType
  • AvbGetProtocol
  • AvbGetStreamId
  • AvbGetStreamSourceAddress
  • AvbGetStreamUniqueId
  • AvbILControlInit
  • AvbILControlResume
  • AvbILControlStart
  • AvbILControlStop
  • AvbILControlWait
  • AvbListen
  • AvbOpenListener
  • AvbOpenTalker
  • AvbReceive
  • AvbSend
  • AvbSetMediaType
  • AvbSetProperty
  • AvbSetProtocol
  • AvbSetVerbosity
  • OnAvbConnect
  • OnAvbListen
  • OnAvbReceive
  • OnAvbSend
  • OnAvbSendPrepare
  • OnPtpSendPrepare
  • PtpSetProperty
  • PtpSimulationTimespanFromPtpTimespan
  • PtpTimeFromSimulationTime
  • PtpTimeNow