SomeIpRegisterCallback
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
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:- Provided events (OnSomeIpPrepareEvent)
- Provided methods (OnSomeIpMethodRequest)
- Consumed events (OnSomeIpEventReceived)
- Consumed fields (OnSomeIpFieldNotification)
- Consumed methods (OnSomeIpMethodResponse)
-
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