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
| Field | Type | Required | Description |
|---|---|---|---|
status | PublishFirmwareStatusEnumType | Required | The current stage. |
location | anyURI[] | Optional | Local URLs the firmware is now served from. Present on Published. |
requestId | integer | Optional | The 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
| Value | Meaning |
|---|---|
Idle | Nothing in progress. |
DownloadScheduled | Download scheduled. |
Downloading | Downloading. |
Downloaded | Download complete. |
Published | Now serving locally. location holds the URLs. |
DownloadFailed | Download failed. |
DownloadPaused | Download paused. |
InvalidChecksum | The downloaded file did not match the checksum. |
ChecksumVerified | The checksum matched. |
PublishFailed | Publishing 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.