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

FieldTypeRequiredDescription
checksumstringRequiredMD5 checksum of the firmware to stop serving.
json
[2, "19223201", "UnpublishFirmware", {
  "checksum": "9e107d9d372bb6826bd81d3542a419d6"
}]

Response

FieldTypeRequiredDescription
statusUnpublishFirmwareStatusEnumTypeRequiredResult.
json
[3, "19223201", {
  "status": "Unpublished"
}]

Values

UnpublishFirmwareStatusEnumType

ValueMeaning
DownloadOngoingRefused: the file is still being downloaded.
NoFirmwareNo firmware with that checksum is published.
UnpublishedStopped 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.