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

# CAPLfunctionSCCErrorStateInd

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

# SCC\_ErrorStateInd

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

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

**Note**\
The error state is active until the timer for a protocol restart expires.

## Function Syntax

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

## Description

The callback is called as soon as the node enters or exits the error state.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
* **ErrorState**: 1 if the error state is entered, 0 if it is exited.

## Return Values

—

## Example

—
