TC_G_21_CS — Change Availability Charging Station - state persists across reboot
TC_G_21_CS — Change Availability Charging Station - state persists across reboot
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block G. Availability, page 218.
Identification
| Field | Value |
|---|---|
| Test case name | Change Availability Charging Station - state persists across reboot |
| Test case Id | TC_G_21_CS |
| Use case Id(s) | G04 |
| Requirement(s) | G04.FR.09 |
| System under test | Charging Station |
| Functional block | G. Availability |
Description
This test case covers how the CSMS requests the Charging Station to change the availability from Operative to Inoperative. An EVSE is considered Operative in any status other than Faulted and Unavailable.
Purpose
To verify if the Charging Station sets the availability persistent across reboot/power loss as described at the OCPP specification.
Prerequisite(s)
n/a
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. Execute Reusable State Booting | |
| 2. The Charging Station sends a BootNotificationRequest. | 3. The OCTT responds with a BootNotificationResponse. |
| 4. The Charging Station reports the status of all its connectors. | 5. The OCTT responds accordingly. |
| 6. The Charging Station sends a SecurityEventNotificationRequest | 7. The OCTT responds with a SecurityEventNotificationResponse |
Tool validations
Step 4:
Message: StatusNotificationRequest
- evseId not 0
- connectorId not 0
- connectorStatus Unavailable Message: NotifyEventRequest
- eventData[0].trigger Delta
- eventData[0].actualValue "Unavailable"
- eventData[0].variable.name "AvailabilityState"
Step 6:
Message: SecurityEventNotificationRequest
- type "StartupOfTheDevice" or type "ResetOrReboot"
Post scenario validations
- A message to report the state of a connector has been received for all connectors.