Skip to content
Documentation Menu

TC_L_01_CSMS — Secure Firmware Update - Installation successful

TC_L_01_CSMS — Secure Firmware Update - Installation successful

Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block L. FirmwareManagement, page 442.

Identification

FieldValue
Test case nameSecure Firmware Update - Installation successful
Test case IdTC_L_01_CSMS
Use case Id(s)L01
Requirement(s)L01.FR.01,L01.FR.11,L01.FR.15
System under testCSMS
Functional blockL. 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 CSMS is able to request the Charging Station to securely download and install a new firmware.

Prerequisite(s)

N/a

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. The OCTT responds with a UpdateFirmwareResponse; With status Accepted1. The CSMS sends a UpdateFirmwareRequest
3. The OCTT sends a FirmwareStatusNotificationRequest.; With status Downloading4. The CSMS responds with a FirmwareStatusNotificationResponse.
5. The OCTT sends a FirmwareStatusNotificationRequest.; With status Downloaded6. The CSMS responds with a FirmwareStatusNotificationResponse.
7. The OCTT sends a FirmwareStatusNotificationRequest.; With status SignatureVerified8. The CSMS responds with a FirmwareStatusNotificationResponse.
9. The OCTT sends a FirmwareStatusNotificationRequest.; With status Installing10. The CSMS responds with a FirmwareStatusNotificationResponse.
11. The OCTT sends a FirmwareStatusNotificationRequest.; With status InstallRebooting12. The CSMS responds with a FirmwareStatusNotificationResponse.
13. The OCTT sends a BootNotificationRequest; With reason FirmwareUpdate14. The CSMS responds with a BootNotificationResponse
15. The OCTT notifies the CSMS about the current state of all connectors.; Message: StatusNotificationRequest connectorStatus Available; Message: NotifyEventRequest trigger Delta actualValue "Available" component.name "Connector" variable.name "AvailabilityState"16. The CSMS responds accordingly.
17. The OCTT sends a FirmwareStatusNotificationRequest.; With status Installed18. The CSMS responds with a FirmwareStatusNotificationResponse.

Tool validations

Step 1:

Message UpdateFirmwareRequest

  • firmware.signingCertificate <Configured signingCertificate>
  • firmware.signature <Configured signature>

Step 14:

Message BootNotificationResponse

  • status Accepted

Post scenario validations

  • N/a