TC_L_07_CS — Secure Firmware Update - DownloadFailed
TC_L_07_CS — Secure Firmware Update - DownloadFailed
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block L. FirmwareManagement, page 246.
Identification
| Field | Value |
|---|---|
| Test case name | Secure Firmware Update - DownloadFailed |
| Test case Id | TC_L_07_CS |
| Use case Id(s) | L01 |
| Requirement(s) | L01.FR.01,L01.FR.10,L01.FR.20 |
| System under test | Charging Station |
| Functional block | L. FirmwareManagement |
Description
The CSMS is able to request the Charging Station to securely download and install a new firmware by sending an UpdateFirmwareRequest with a signingCertificate.
Purpose
To verify if the Charging Station is able to report to the CSMS when it is unable to download the new firmware.
Prerequisite(s)
- A file server has been setup according to the (by the Charging Station) supported file transfer protocol(s), indicated by the configuration variable FileTransferProtocols.
- The at the OCTT configured invalid firmware location needs to point to a not existing firmware file name.
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 2. The Charging Station responds with a UpdateFirmwareResponse | 1. The OCTT sends a UpdateFirmwareRequest; with firmware.installDateTime <Current DateTime - 2 hours> firmware.location <Configured firmware location> + "_does_not_exist" firmware.retrieveDateTime _<Current DateTime - 2 hours> firmware.signingCertificate <Configured signingCertificate> firmware.signature <Configured signature> |
| 3. The Charging Station sends a FirmwareStatusNotificationRequest.; Note(s):; - This step is optional. The Charging Station may immediately identify downloading the firmware is not possible. | 4. The OCTT responds with a FirmwareStatusNotificationResponse. |
| 5. The Charging Station sends a FirmwareStatusNotificationRequest. | 6. The OCTT responds with a FirmwareStatusNotificationResponse. |
Tool validations
Step 2:
Message UpdateFirmwareResponse
- status Accepted
Step 3:
Message FirmwareStatusNotificationRequest
- status Downloading
Step 5:
Message FirmwareStatusNotificationRequest
- status DownloadFailed
Post scenario validations
- N/a