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

SCC_CreateServiceDiscoveryRes_DIN

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreateServiceDiscoveryRes_DIN 
( byte SessionID[], dword ConfigSection, 
char ResponseCode[] )

Description

Creates a Service Discovery Response message for sending.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
  • ConfigSection: Number of the section from the test configuration file to use.
  • ResponseCode: Acknowledgment status of the message. The list of possible response codes you find on page SCC_SetResponseCode.

Optional Parameters

  • Index: 0
  • Name: ServiceList
  • Type: complex
  • Description: List of offered services besides charging services.

Return Values

  • 1: If successful.
  • 0: Else (message cannot be sent).

Example