Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » SLAC Test Functions » Shared Functions » SCC_CreateCM_Atten_Char_Rsp

SCC_CreateCM_Atten_Char_Rsp

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

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