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

# CAPLfunctionSCCContractAuthenticationRes

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

## SCC\_ContractAuthenticationRes

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [EV Callback Functions](../CAPLFunctionsSmartChargingOverview.md#CallbackEV) » SCC\_ContractAuthenticationRes

**Valid for**:  CANoe DE • CANoe4SW DE

### Function Syntax

```plaintext theme={null}
void SCC_ContractAuthenticationRes ( byte SessionID[], long ResponseCode )
```

### Description

The callback is called as soon as a Contract Authentication Response is received.

Further details that are transmitted in this response can be queried with the following functions:

* [SCC\_GetProcessing](../Functions/CAPLfunctionSCCSetProcessing.md)
* [SCC\_GetResponseCodeString](../Functions/CAPLfunctionSCCGetResponseCodeString.md)

### Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF
* **ResponseCode**: 1 if **OK**, 0 if **FAILED**

### Return Values

—

### Example

—
