PublishFirmwareStatusNotification
FirmwareManagement CS->CSMS
OCPP 2.0.1
Sent by the Local Controller to report the status of a firmware publish operation initiated by PublishFirmware.
Quick Reference
Required Fields
status PublishFirmwareStatusEnumType Status: Idle, DownloadScheduled, Downloading, Downloaded, Published, DownloadFailed, DownloadPaused, InvalidChecksum, ChecksumVerified
Optional Fields
requestId integer The requestId from the PublishFirmware request
location array[string] URLs where the firmware is published and available for download
Example Payload
{
"status": "Published",
"requestId": 1,
"location": [
"http://192.168.1.10/firmware/v2.1.0.bin"
]
} Example Full Frame
[
2,
"msg-001",
"PublishFirmwareStatusNotification",
{
"status": "Published",
"requestId": 1,
"location": [
"http://192.168.1.10/firmware/v2.1.0.bin"
]
}
]
Format: [MessageType, MessageId, Action, Payload]
Overview
PublishFirmwareStatusNotification reports the progress of a firmware publish on a Local Controller, from downloading the firmware to making it available on the local network.
Expected Response
Empty response {}.
Testing Tips
- Verify
Publishedstatus with the local URL where the firmware is served - Test
InvalidChecksumfor tampered firmware files