TC_B_52_CS — Status change during offline period - < Offline Threshold
TC_B_52_CS — Status change during offline period - < Offline Threshold
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 78.
Identification
| Field | Value |
|---|---|
| Test case name | Status change during offline period - < Offline Threshold |
| Test case Id | TC_B_52_CS |
| Use case Id(s) | B04 |
| Requirement(s) | B04.FR.02 |
| System under test | Charging Station |
| Functional block | B. Provisioning |
Description
A Charging Station sends a notification to the CSMS to inform the CSMS about a Connector status change. This can be done in two ways. Via a StatusNotificationRequest or a NotifyEventRequest from the device model. When the Charging Station is connected again to the CSMS after having been offline, and the Charging Station was shorter offline than the configured threshold, it will report the status of all connector that received a status change.
Purpose
To verify whether the Charging Station reports the status of connectors that received a status change after having been offline for shorter than the configured threshold with the configuration variable OfflineThreshold.
Prerequisite(s)
N/a
Before (Preparations)
Configuration State:
- OCPPCommCtrlr.OfflineThreshold is <Configured offlineThreshold> OCPPCommCtrlr.RetryBackOffWaitMinimum is <Configured offlineThreshold> - 2 seconds OCPPCommCtrlr.RetryBackOffRandomRange is 0
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. The OCTT closes the WebSocket connection AND does not accept a reconnect. | |
| 2. Manual Action: Connect the EV and EVSE. | |
| 3. The OCTT accepts reconnection attempt from the Charging Station. | |
| 4. The Charging Station notifies the CSMS about the current state of the configured connector. | 5. The OCTT responds accordingly. |
Tool validations
Step 3:
Message: StatusNotificationRequest
- connectorStatus Occupied
- evseId <Configured evseId>
- connectorId <Configured connectorId> Message: NotifyEventRequest
- eventData[0].trigger Delta
- eventData[0].actualValue "Occupied"
- eventData[0].component.name "Connector"
- eventData[0].variable.name "AvailabilityState"
- eventData[0].evse.id <Configured evseId>
- eventData[0].connectorId <Configured connectorId>
Post scenario validations
- N/a