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

# CAPLfunctionSCCSLACSetLinkStatusPollingType

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

**CAPL Functions** » **Smart Charging** » **SCC Modeling Libraries (Simulation Setup)** » **SLAC Simulation** » **Shared Functions** » **SCC\_SLAC\_SetLinkStatusPollingType**

# SCC\_SLAC\_SetLinkStatusPollingType

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

## Function Syntax

```
long SCC_SLAC_SetLinkStatusPollingType ( dword Type )
```

**Note**\
It is recommended to use `VS_Host_Action.Ind` as described in [SCC\_Generic\_VS\_HostMessage\_Ind](../Callbacks/CAPLfunctionIndGenericVSHostMessageInd.md) instead of link status polling.

## Description

Changes the message(s) used for querying the link status (if activated). This overwrites the configuration parameter `<SLAC_LinkStatusPollingType>`.

## Parameters

* **Type**: Desired message configuration, where the following applies:
  * 0 = use both available messages
  * 1 = use only VS\_PL\_Lnk\_Status
  * 2 = use only VS\_Nw\_Info

## Return Values

* **0**: Not successful
* **1**: Successful

## Example

—
