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

SCC_CreatePaymentServiceSelectionReq_ISO

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreatePaymentServiceSelectionReq_ISO 
( byte SessionID[], 
char SelectedPaymentOption[], 
byte SelectedServiceIDs[], 
byte SelectedParameterSetIDs[], 
dword ServiceIDCount ); // form 1: deprecated
long SCC_CreatePaymentServiceSelectionReq_ISO 
( byte SessionID[], 
char SelectedPaymentOption[], 
word SelectedServiceIDs[], 
int SelectedParameterSetIDs[], 
dword ServiceIDCount ); // form 2

Description

Creates a Payment Service Selection Request message for sending.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
  • SelectedPaymentOption: Contract or ExternalPayment.
  • SelectedServiceIDs: IDs of the selected services. Must contain at least one entry.
  • SelectedParameterSetIDs: Parameter set IDs corresponding to the SelectedServiceIDs. Array must be the same size as SelectedServiceIDs, you can use -1 to omit a parameter set ID.
  • ServiceIDCount: Size of the array SelectedServiceIDs.

Return Values

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

Example