Skip to content
Documentation Menu

TC_L_10_CSMS — Secure Firmware Update - AcceptedCanceled

TC_L_10_CSMS — Secure Firmware Update - AcceptedCanceled

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

Identification

FieldValue
Test case nameSecure Firmware Update - AcceptedCanceled
Test case IdTC_L_10_CSMS
Use case Id(s)L01
Requirement(s)L01.FR.01,L01.FR.11,L01.FR.24
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 handle a Charging Station reporting an ongoing installation of a firmware was canceled and it is now starting the new firmware update.

Prerequisite(s)

The CSMS is able to request a new firmware update, while there is already one ongoing on the Charging Station.

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.
6. The OCTT responds with a UpdateFirmwareResponse; With status AcceptedCanceled5. The CSMS sends a UpdateFirmwareRequest
7. The OCTT sends a FirmwareStatusNotificationRequest.; With status Downloading8. The CSMS responds with a FirmwareStatusNotificationResponse.
9. The OCTT sends a FirmwareStatusNotificationRequest.; With status Downloaded10. The CSMS responds with a FirmwareStatusNotificationResponse.
11. The OCTT sends a FirmwareStatusNotificationRequest.; With status SignatureVerified12. The CSMS responds with a FirmwareStatusNotificationResponse.
13. The OCTT sends a FirmwareStatusNotificationRequest.; With status Installing14. The CSMS responds with a FirmwareStatusNotificationResponse.
15. The OCTT sends a FirmwareStatusNotificationRequest.; With status InstallRebooting16. The CSMS responds with a FirmwareStatusNotificationResponse.
17. The OCTT sends a BootNotificationRequest; With reason FirmwareUpdate18. The CSMS responds with a BootNotificationResponse
19. 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"20. The CSMS responds accordingly.
21. The OCTT sends a FirmwareStatusNotificationRequest.; With status Installed22. The CSMS responds with a FirmwareStatusNotificationResponse.

Tool validations

Step 18:

Message BootNotificationResponse

  • status Accepted

Post scenario validations

  • N/a