Skip to main content

ChkQuery_RequestSrcAdr

Valid for: CANoe DE

Function Syntax

long ChkQuery_RequestSrcAdr(dword aCheckId);

Method Syntax

Method Syntax
check.QueryRequestSrcAdr();

Check Name

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

Description

Returns the source address 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: source address

Example

ChkCreate_MostPropertyProtocolError, ChkStart_MostPropertyProtocolErrorChkCreate_MostMethodProtocolError, ChkStart_MostMethodProtocolError