UnpublishFirmware
Tells a local controller to stop serving a published firmware file.
- Version
- OCPP 2.0.1
- Direction
- CSMS → Charge Point
- Functional block
- Firmware Management
Cleanup for PublishFirmware. The file is identified by its checksum rather than by a request id.
Request
| Field | Type | Required | Description |
|---|---|---|---|
checksum | string | Required | MD5 checksum of the firmware to stop serving. |
json
[2, "19223201", "UnpublishFirmware", {
"checksum": "9e107d9d372bb6826bd81d3542a419d6"
}]Response
| Field | Type | Required | Description |
|---|---|---|---|
status | UnpublishFirmwareStatusEnumType | Required | Result. |
json
[3, "19223201", {
"status": "Unpublished"
}]Values
UnpublishFirmwareStatusEnumType
| Value | Meaning |
|---|---|
DownloadOngoing | Refused: the file is still being downloaded. |
NoFirmware | No firmware with that checksum is published. |
Unpublished | Stopped serving it. |
Implementation notes
Unpublish only after every station on that network has finished updating — pulling the file mid-download leaves them on the old firmware.