TestWaitForAnswer
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Waits for the answer to a method call. The call must have been created through consumedMethodRef::CallAsync on a consumed method. If the wait is successful, the call context properties for the return value and the out parameters can be read.Parameters
- cco: Call context for a call.
- timeoutMS: Maximum time that should be waited [ms]. Transmission of 0: no timeout controlling.
Return Values
- -2: Resume due to constraint violation
- -1: General error, for example, functionality is not available
- 0: Resume due to timeout
- 1: Resume due to event occurred (method was called)