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

# CAPLfunctionSCCCreateSupportedAppProtocolRes

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

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

# SCC\_CreateSupportedAppProtocolRes

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

## Function Syntax

```plaintext theme={null}
long SCC_CreateSupportedAppProtocolRes ( char ResponseCode[] )
```

## Description

Creates a SupportedAppProtocol Response message for sending.

## Parameters

* **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**: SchemaId
* **Type**: long
* **Description**: Unique ID of one of the vehicle’s supported protocols.

## Return Values

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

## Example

—
