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

# CAPLfunctionSCCCreateCMAttenCharRsp

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

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [SLAC Test Functions](../CAPLFunctionsSmartChargingOverview.md#SLACtest) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#SLACtest) » SCC\_CreateCM\_Atten\_Char\_Rsp

# SCC\_CreateCM\_Atten\_Char\_Rsp

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

## Function Syntax

```c theme={null}
void SCC_CreateCM_Atten_Char_Rsp ( byte RunId[], 
byte SourceMac[], byte TargetMac[], 
byte SourceAddress[] )
```

## Description

Creates a **CM\_Atten\_Char.Rsp** message for sending.

## Parameters

* **RunId**: Random Run Identifier of sender (8 byte).
* **SourceMac**: Source address of the Ethernet packet.
* **TargetMac**: Destination address of the Ethernet packet.
* **SourceAddress**: MAC Address of the PEV which initiates the SLAC process.

### Additional Parameters

* **Index 0**
  * **Name**: ApplicationType
  * **Type**: dword
  * **Description**:
    * 0x00 = PEV-EVSE Association
    * 0x01-0xFF = Reserved

* **Index 1**
  * **Name**: SecurityType
  * **Type**: dword
  * **Description**:
    * 0x00 = No Security
    * 0x01 = Public Key Signature
    * 0x02-0xFF = Reserved

* **Index 2**
  * **Name**: Result
  * **Type**: dword
  * **Description**: 0x00 = Success

* **Index 3**
  * **Name**: SourceId
  * **Type**: byte\[]
  * **Description**: 17 byte ID

* **Index 4**
  * **Name**: RespId
  * **Type**: byte\[]
  * **Description**: 17 byte ID

## Return Values

—

## Example

—
