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.
AREthAddEvent
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function adds an Event to a Provided Service Instance that was created by AREthCreateProvidedServiceInstance. AREthTriggerEvent is used to trigger sending of the Event. Then, the CAPL Callback function<OnAREthPrepareEvent> is called, and the application has the opportunity to change or update the values of the SOME/IP Event.
An Event can be removed again using the AREthRemoveEvent function.
Parameters
- psiHandle: Handle of the Provided-Service Instance
- eventId: Identifier of the Event
- onPrepareEventCallback: Name of the CAPL function, see CAPL callback
<OnAREthPrepareEvent>
Return Values
- 0: An error occurred. The error can be evaluated using the AREthGetLastError function.
- >0: Handle of the created Event