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

SCC_CreateChargingStatusRes_ISO

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreateChargingStatusRes_ISO ( byte SessionID[], char ResponseCode[], long NotificationMaxDelay, byte StatusFlags[], char Notification[], char EVSEID[], long SAScheduleTupleId )

Description

Creates a Charging Status Response message for sending.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
  • ResponseCode: Acknowledgment status of the message. The list of possible response codes you find on page SCC_SetResponseCode.
  • NotificationMaxDelay: Time until the vehicle is expected to react on the notification (for AC_EVSEStatus).
  • StatusFlags: Flags for AC_EVSEStatus: StatusFlags[0] = PowerSwitchClosed, StatusFlags[1] = RCD.
  • Notification: Notification about an action that the charge point wants the vehicle to perform (for AC_EVSEStatus).
  • EVSEID: Unique ID of the charge point.
    Note: EVSEID is interpreted as a 64 bit number, and thus must not contain any letters.
  • SAScheduleTupleId: Unique ID of a SAScheduleTuple which identifies the selected Tariff.

Optional Parameters

IndexNameTypeDescription
0MeterIDchar[]Unique ID of the meter.
1MeterReadinglongCurrent meter reading in Wh.
2SigMeterReadingbyte[]Signature of the meter reading (length 64).
3MeterStatuslongCurrent status of the meter.
4TMeterlongTimestamp of the current SECC time.
5MaxCurrentfloatEVSEMaxCurrent.
6ReceiptRequiredlongIndicates if the vehicle is required to send a MeteringReceiptReq.
Note: Due to the requirements of the schema, the element MeterID is mandatory if any of the optional meter-related parameters are to be supplied.

Return Values

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

Example