UnpublishFirmware
FirmwareManagement CSMS->CS
OCPP 2.0.1
Sent by the CSMS to a Local Controller to stop serving a previously published firmware file.
Quick Reference
Required Fields
checksum string(32) MD5 checksum of the firmware file to stop serving
Example Payload
{
"checksum": "d41d8cd98f00b204e9800998ecf8427e"
} Example Full Frame
[
2,
"msg-001",
"UnpublishFirmware",
{
"checksum": "d41d8cd98f00b204e9800998ecf8427e"
}
]
Format: [MessageType, MessageId, Action, Payload]
Overview
UnpublishFirmware instructs the Local Controller to stop serving a firmware file, freeing up storage and preventing stations from downloading an outdated version.
Expected Response
status:DownloadOngoing(cannot unpublish yet),NoFirmware(not found), orUnpublished
Testing Tips
- Verify
Unpublishedwhen the firmware was previously published - Test while a download is in progress and verify
DownloadOngoing
Common Errors
GenericError
Cause: checksum does not match any published firmware
Solution: Charging Station responds with NoFirmware status if the checksum doesn't match any published file