Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Open topic with navigation

SCC_StopSession

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Simulation Control » EVSE Functions » SCC_StopSession Valid for:  CANoe DE •  CANoe4SW DE

Function Syntax

long SCC_StopSession ( dword CloseTcpConnection ) // form 1
long SCC_StopSession ( dword CloseTcpConnection, dword CloseDataLink ) // form 2

Description

The function stops a connection immediately. If it is used within a message callback, a response to the message is not sent.

Parameters

  • CloseTcpConnection: If 1, an additional TCP close is executed
  • CloseDataLink: If 1, an additional data link close via CM_SetKey.Req is executed. This is the default behavior for CloseTcpConnection == 1

Return Values

  • 0: Not successful
  • 1: Successful

Example