# null

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

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

# SCC\_GetEnergyTransferType

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

**Note**

This function can be called only within the assigned callback. The function is used to query the details of a request.

## Function Syntax

`long SCC_GetEnergyTransferType ( char[] EnergyTransferType )`

## Description

Gets the energy transfer type (DIN 70121) resp. energy transfer mode (ISO 15118) from various messages.

## Parameters

* **EnergyTransferType**: Queries the charging mode used in the message (to the given char buffer). If this is not required, transfer an empty string.

## Return Values

Type of requested power supply:

* **0**: AC\_Charging
* **1**: DC\_Charging

## Example

—
