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

# CAPLfunctionSCCLinkStatusChangeInd

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

# SCC\_LinkStatusChangeInd

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

Valid for:  CANoe DE • CANoe4SW DE

**Note:** The link status can also be changed manually using [SCC\_SLAC\_SetLinkStatus](../Functions/CAPLfunctionSCCSLACSetLinkStatus.md).

## Function Syntax

```plaintext theme={null}
void SCC_LinkStatusChangeInd ( dword OldStatus, dword NewStatus )
```

## Description

The callback is called each time the internally stored link status changes.

To use this callback, the XML-parameter `<SLAC_ChipMACAddress>` must either be set to the correct value or removed. Otherwise, the polling message is ignored.

**Note:** It is recommended to use **VS\_Host\_Action.Ind** as described in [SCC\_Generic\_VS\_HostMessage\_Ind](CAPLfunctionIndGenericVSHostMessageInd.md) instead of link status polling.

## Parameters

* **OldStatus**: Previous link status (0 = no link, 1 = link, 2 = unknown).
* **NewStatus**: New link status (0 = no link, 1 = link, 2 = unknown).

## Return Values

—

## Example

—
