Skip to main content

diagSendResponse, diagSendPositiveResponse

Valid for: CANoe DE Note
This function is called asynchronously. Therefore, it may happen, that even when the function returns with no error code, not the entire response may have been sent (e.g. especially when trying to send long messages with First Frame, Flow Control Frame and several Consecutive Frames) or that the response is not sent at all (e.g. if an error on a lower communication layer occurs).

Function Syntax

long diagSendResponse (diagResponse obj)
long diagSendPositiveResponse (diagResponse obj)

Method Syntax

Method Syntax
diagResponse::SendResponse ()
diagResponse::SendPositiveResponse()

Description

Sends the response object back to the tester. Can only be called in the ECU simulation.

Parameters

  • obj: Diagnostics object

Return Values

Error code

Example

See on diagRequest