Skip to main content

ChkQuery_RequestOpType

Valid for: CANoe DE

Function Syntax

long ChkQuery_RequestOpType(dword aCheckId);

Method Syntax

Method Syntax
check.QueryRequestOpType();

Check Name

MOST Property Protocol Observation (Check Description) | MOST Method Protocol Observation (Check Description)

Description

Returns the OpType of the request message, which last led to a protocol violation.

Parameters

  • aCheckId: Reference to check context.

Return Values

  • < 0: Refers the query error codes
  • ≥ 0: Id of the OpType.

Example

ChkCreate_MostPropertyProtocolError, ChkStart_MostPropertyProtocolErrorChkCreate_MostMethodProtocolError, ChkStart_MostMethodProtocolError