> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCGetSessionId

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCGetSessionId.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Simulation Data](../CAPLFunctionsSmartChargingOverview.md#V2GSimDataRead) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#V2GSimDataRead) » **SCC\_GetSessionId**

# SCC\_GetSessionId

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
void SCC_GetSessionId ( byte SessionID [] )
```

## Description

Outputs the SessionID of a connection.

## Parameters

* **SessionID**: Queries the 8-byte long SessionID (to the given byte buffer).

## Return Values

—

## Example

—
