Skip to main content

Iso11783OPDeactivate

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783OPDeactivate( dword ecuHandle );
long Iso11783OPDeactivate( dword ecuHandle, dword options );

Description

The function terminates the connection to the Virtual Terminal. The Delete Object Pool command is executed to log off from the Virtual Terminal. The Maintenance message is not longer sent. The Object Pool API changes to state Not Active.

Parameters

  • ecuHandle: Handle of the ECU. The handle must be created with Iso11783CreateECU.
  • options: Options
    • Bit 0 = 1: suppress Delete Object Pool command
    • Bit 1 = 1: delete local object pool

Return Values

0 or error code

Example

Iso11783OPDeactivate( handle );