> ## 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.

# CAPLfunctionSCCCreateServiceDiscoveryResIso

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

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Test Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestISO) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestISO) » SCC\_CreateServiceDiscoveryRes\_ISO

# SCC\_CreateServiceDiscoveryRes\_ISO

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

## Function Syntax

```
long SCC_CreateServiceDiscoveryRes_ISO ( byte SessionID[], dword ConfigSection, char ResponseCode[] )
```

## Description

Creates a Service Discovery Response message for sending.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
* **ConfigSection**: Number of the section from the test configuration file to use.
* **ResponseCode**: Acknowledgment status of the message. The list of possible response codes you find on page [SCC\_SetResponseCode](CAPLfunctionSCCSetResponseCode.md).

### Optional Parameters

* **Index**: 0
* **Name**: ServiceList
* **Type**: complex
* **Description**: List of offered services besides charging services.

## Return Values

* **1**: If successful.
* **0**: Else (message cannot be sent).

## Example

—
