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.
AREthCreateEventConsumer
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function adds an Event Consumer to a Consumed Service Instance that was created by AREthCreateConsumedServiceInstance. When a suitable Event is received, the passed Callback function is called. An Event Consumer can be removed again using the AREthRemoveEventConsumer function.Parameters
- csiHandle: Handle of the Consumed Service Instance that was created with AREthCreateConsumedServiceInstance.
- eventId: Identifier of the Event.
- onEventCallback: The function name that should be called when a suitable Event is received, see
<OnAREthEventReceived>.
Return Values
- 0: An error occurred. The error can be evaluated using the AREthGetLastError function.
- >0: Handle of the created Event Consumer.
Example
- AREthAddConsumedEventGroup
- AREthCallMethod
- AREthCreateConsumedServiceInstance
- AREthCreateEventConsumer
- AREthCreateFieldConsumer
- AREthCreateMethodCall
- AREthReleaseConsumedServiceInstance
- AREthRemoveConsumedEventGroup
- AREthRemoveEventConsumer
- AREthRemoveFieldConsumer
- AREthRemoveMethodCall