Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » EV Callback Functions » SCC_ServiceDiscoveryRes

SCC_ServiceDiscoveryRes

Valid for:  CANoe DE •  CANoe4SW DE Note
The element ChargeService, which is not part of the service list, is contained in the ServiceCount and referenced using index 0.

Function Syntax

void SCC_ServiceDiscoveryRes ( byte SessionID[], long ResponseCode, long ServiceCount )

Description

The callback is called as soon as a Service Discovery Response is received. Further details that are transmitted in this request can be queried with the following functions:

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
  • ResponseCode: 1 if OK, 0 if FAILED.
  • ServiceCount: Number of ServiceTags or Services transmitted.

Return Values

Example