Skip to main content

SomeIpRegisterCallback

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

LONG SomeIpRegisterCallback( dword objHandle, char callbackName[] );

Description

Enables to register/unregister a CAPL callback function for an object which has been created separately.

Parameters

  • objHandle
    Handle of an already existing SOME/IP IL object for which a new CAPL callback function should be registered/unregistered. The following objects and their corresponding callbacks are supported:
  • callbackName
    The name of the new callback function to register. If a callback function was already registered, it is first unregistered and then replaced by the new one.

Return Values

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

Example

See Also