Skip to main content

SomeIpRemoveValue

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long SomeIpRemoveValue( dword objectHandle, char valuePath[]);

Description

This function can be used to remove a value in the object specified in the objectHandle parameter. The value is removed in this case via symbolic access paths. The function may be used on entries of dynamic arrays or optional values which shall be removed. In the case of arrays successive entries are moved forward. Note
  • A corresponding syntax must be adhered to for specifying the access paths. The access path results from the database description of the value to be read (see also Syntax for Database-based Access Paths).
  • The content of a Service Discovery message can also be modified with this function. Here, the value is accessed via a predefined access path (see also Syntax for Predefined SD Access Paths).

Parameters

  • objectHandle: Handle to a SOME/IP IL object, which must be completely described in the FIBEX database. The following objects are supported:
  • valuePath: Access path of the value to be read out.

Return Values

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

Example

See Also