diagGetResponseCode, diagGetLastResponseCode
Valid for: CANoe DEFunction Syntax
long diagGetResponseCode (diagResponse resp);long diagGetLastResponseCode (diagRequest req);long diagGetLastResponseCode ();
Method Syntax
long diagResponse::GetResponseCode();long diagRequest::GetLastResponseCode();
Description
Returns the code of the specified response or last received response (for the specified request).Parameters
- resp: Response
- req: Request
Return Values
- -1: The response was positive, i.e. there is no error code.
- 0: No response has been received yet.
- > 0: Error code of the negative response.