Skip to main content

diagSetPrimitiveByte

Valid for: CANoe DE

Function Syntax

Method Syntax

Method Syntax

Description

Writes one byte of a diagnostic object.

Parameters

  • request: Request
  • response: Response
  • bytePos: Zero-based position of the byte in the object
  • newValue: New value of the accessed byte

Return Values

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

Example

diagSetRespPrimitiveBytediagGetPrimitiveBytediagGetRespPrimitiveByte