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.
SomeIpGetSourceAddress
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function returns the IPv4 sender address.Parameters
- messageHandle: Handle of the SOME/IP message. Note: This function can only be called within the OnSomeIpMessage callback function.
- ipv6Address: The parameter to which the IPv6 address will be written to.
Return Values
- IPv4 sender address (Network Byte Order) as numeric value.
- In the event of an error, the function returns the value 0. The SomeIpGetLastError function can then be used to check whether the value is valid or an error has occurred. Note: The IpGetAddressAsString function can be used to convert the numerical return value to a character string in shorthand notation.
- 0: The function was successfully executed
- >0: Error code