Skip to main content

SomeIpOutputMessage

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This function is used to send a SOME/IP message. The packet is sent immediately. All messages that were prepared for sending beforehand with SomeIpPostMessage are inserted in the packet to be sent and sent with the message, provided that the buffered messages have the same source and the same destination.

Parameters

  • aepHandle: Handle of the local Application Endpoint over which the message should be output.
  • remoteIPv4Address: IPv4 address to which the message should be sent (Network Byte Order).
  • remotePort: UDP/TCP port number to which the message should be sent.
  • remoteIPEndpoint: Object of type IP_Endpoint that contains the address/port of the remote endpoint.
  • messageHandle: Handle of the message that was created with SomeIpCreateMessage, for example.

Return Values

  • 0: The function was successfully executed
  • >0: Error code

Example

See Also