Skip to main content
Open topic with navigation

SCC_SetSelectedService

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Simulation Control » EV Functions » SCC_SetSelectedService

Tool Availability

Valid for:  CANoe DE  •  CANoe4SW DE

Note

This function needs a running SCC session in order to work. Make sure to call it only after the Session Setup Request message is sent.

Function Syntax

long SCC_SetSelectedService ( long ServiceID, long ParameterSetID )

Description

Adds a service to the SelectedServiceList of the PaymentService-SelectionReq (former ServicePaymentSelectionReq) message.

Note

For a correct message, use one of the ServiceIDs sent by the charge point in the message ServiceDiscoveryRes. The charge service is always selected automatically by the vehicle.

Parameters

  • ServiceID: ID of the desired service.
  • ParameterSetID: ID of the desired parameter set (if set to 0, this optional parameter will be omitted).

Return Values

  • 0: Not successful
  • 1: Successful

Example