PublishFirmwareStatusNotification

Reports progress of a local firmware publishing operation.

Version
OCPP 2.0.1
Direction
Charge Point → CSMS
Functional block
Firmware Management

The progress channel for PublishFirmware. When publishing succeeds, it carries the local URLs other stations can download from.

Request

FieldTypeRequiredDescription
statusPublishFirmwareStatusEnumTypeRequiredThe current stage.
locationanyURI[]OptionalLocal URLs the firmware is now served from. Present on Published.
requestIdintegerOptionalThe PublishFirmware request this relates to.
json
[2, "19223201", "PublishFirmwareStatusNotification", {
  "requestId": 802,
  "status": "Published",
  "location": ["http://10.0.1.2/firmware/3.2.0.bin"]
}]

Response

No fields — the payload is an empty object {}.

json
[3, "19223201", {}]

Values

PublishFirmwareStatusEnumType

ValueMeaning
IdleNothing in progress.
DownloadScheduledDownload scheduled.
DownloadingDownloading.
DownloadedDownload complete.
PublishedNow serving locally. location holds the URLs.
DownloadFailedDownload failed.
DownloadPausedDownload paused.
InvalidChecksumThe downloaded file did not match the checksum.
ChecksumVerifiedThe checksum matched.
PublishFailedPublishing failed.

Implementation notes

The location URLs from a Published status are what you pass as firmware.location in UpdateFirmware for the other stations on that network.