A664InitMessage
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
The complete Ethernet, IP- and UDP headers for an AFDX message are consistently set based on the given parameters. The payload area is initialized with 0.Parameters
- aMessage: The message object to be initialized.
- srcIP: Source IP address to be used for the Eth and IP headers.
- dstIP: Destination IP address to be used for the IP headers.
- srcUDP: Source UDP port for the UDP header.
- dstUDP: Destination UDP port for the UDP header.
- VLid: VLId to be used for the destination Eth header (see selector EthVlId).
- payloadSize: Size of the message payload after UDP header without counting the sequence number.
Return Values
- 0: Initialization failed.
- 1: Initialization successful.
Example
- OnAfdxError
- OnAfdxPacket
- A664CloseProxyPort
- A664GetFunctionalStatus
- A664InitICMP
- A664InitPayload
- A664InitProxyPort
- A664isICMP
- A664MsgConfig
- A664ResizeMessage
- A664SetChecksum
- A664SetFunctionalStatus
- A664SetStringSignal
- A664TriggerFrame
- A664VLConfig
- AFDX CAPL Functions
- AFDX Copy-Operator
- AFDX Error Codes
- AfdxCompletePacket
- AfdxDeregisterReceiveCallback
- AfdxGetDBAttrAsString
- AfdxGetDBAttrValue
- AfdxGetDBMessageName
- AfdxGetLastError
- AfdxGetLastErrorText
- AfdxGetMessageId
- AfdxGetMessageName
- AfdxGetPacketData
- AfdxGetSignalBool
- AfdxGetSignalInt
- AfdxGetSignalInt64
- AfdxGetSignalOpaque
- AfdxGetSignalReal
- AfdxGetSignalStatus
- AfdxGetSignalString
- AfdxGetTokenData
- AfdxGetTokenInt
- AfdxGetTokenInt64
- AfdxGetTokenLengthBit
- AfdxGetTokenReal
- AfdxGetTokenString
- AfdxInitPacket
- AfdxInitProtocol
- AfdxInitSchedule
- AfdxIsPacketValid
- AfdxIsReceiveCallbackRegistered
- AfdxOutputPacket
- AfdxOutputPacketRaw
- AfdxOutputPacketWithSignals
- AfdxRegisterReceiveCallback
- AfdxReleasePacket
- AfdxRemoveToken
- AfdxResizeToken
- AfdxSetErrorHandler
- AfdxSetSignalBool
- AfdxSetSignalInt
- AfdxSetSignalInt64
- AfdxSetSignalOpaque
- AfdxSetSignalReal
- AfdxSetSignalStatus
- AfdxSetSignalString
- AfdxSetTokenData
- AfdxSetTokenInt
- AfdxSetTokenInt64
- AfdxSetTokenReal
- AfdxSetTokenString
- AfdxSetVerbosity
- Declaration of AFDX Frames
- Declaration of AFDX Messages
- on a664Frame
- on a664Message
- output (AFDX)
- Use The Right Operating Mode (AFDX)