Skip to main content

diagGetRespPrimitiveByte

Valid for: CANoe DE

Function Syntax

long diagGetRespPrimitiveByte( diagRequest request, DWORD bytePos);

Method Syntax

Method Syntax
diagRequest::GetRespPrimitiveByte( DWORD bytePos);

Description

Reads one byte of the response stored for the request.

Parameters

  • request: Request
  • bytePos: Position of the byte in the response

Return Values

  • ≥ 0: Requested value or “no error”
  • < 0: Error code

Example

diagGetPrimitiveBytediagSetPrimitiveBytediagSetRespPrimitiveByte