# null

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

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

# SCC\_Generic\_VS\_HostMessage\_Ind

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

## Function Syntax

```plaintext
void SCC_Generic_VS_HostMessage_Ind(byte sourceMacAddress[], dword hostMessageInd);
```

## Description

The callback is called as soon as a [VS\_Host\_Action.Ind](CAPLfunctionSCCVSHostActionInd.md) or equivalent message is received. The interpretation of the message depends on the vendor OUI and will then be mapped to the respective `hostMessageInd` values.

Currently supported OUIs:

* Qualcomm (0x00B052)
* MStar, MediaTek and Vertexcom (0x0013D7)
* Lumissil (0x0016E8)

## Parameters

* **SourceMacAddress**: MAC address of sender.
* **hostMessageInd**: Notification:
  * DEVICE\_READY = 0x00
  * READY\_TO\_JOIN = 0x01
  * AVLN\_JOINED = 0x02
  * AVLN\_DISCONNECTED = 0x03
  * NOT\_SUPPORTED = 0xFF

## Return Values

—

## Example

—

[SCC\_VS\_HostAction\_Ind](CAPLfunctionSCCVSHostActionInd.md)
