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

# CAPLfunctionSCCCreateCMAttenProfileInd

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

**CAPL Functions** » **Smart Charging** » **SCC Modeling Libraries (Simulation Setup)** » **SLAC Test Functions** » **Shared Functions** » **SCC\_CreateCM\_Atten\_Profile\_Ind**

# SCC\_CreateCM\_Atten\_Profile\_Ind

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

## Function Syntax

```plaintext theme={null}
void SCC_CreateCM_Atten_Profile_Ind 
( byte SourceMac[], byte TargetMac[], 
byte PEVMAC[], dword NumGroups, byte AAG[] )
```

## Description

Creates a **CM\_Atten\_Profile.Ind** message for sending.

## Parameters

* **SourceMac**: Source address of the Ethernet packet.
* **TargetMac**: Destination address of the Ethernet packet.
* **PEVMAC**: PEV MAC Address.
* **NumGroups**: Number of attenuation groups.
* **AAG**: Average Attenuation Group (array length is indicated by the parameter **NumGroups**).

### Additional Parameters

* **Index**: 0
* **Name**: Reserved field
* **Type**: dword
* **Description**: 1 byte

## Return Values

—

## Example

—
