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

# CAPLfunctionSCCMessageRxInd

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

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

# SCC\_MessageRxInd

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

## Function Syntax

```plaintext theme={null}
void SCC_MessageRxInd(byte SessionID[], dword MessageID)
```

## Description

The callback is called each time a Vehicle2Grid, SECC Discovery or SLAC message is received by the simulation DLL.

## Parameters

* **SessionID**\
  8-byte long SessionID of the connection, range: 0 - 0xFF FF FF FF FF FF FF FF

* **[MessageID](SCC_MessageID.md)**\
  Type of received message:
  * For SLAC messages, MMType (2 byte) according to specification.
  * For V2G messages see help page [MessageID](SCC_MessageID.md).

## Return Values

—

## Example

—
