LogStatusNotification

FirmwareManagement CS->CSMS OCPP 2.0.1

Sent by the Charging Station to report the status of a log file upload requested by GetLog.

Quick Reference

Required Fields

status UploadLogStatusEnumType

Upload status: BadMessage, Idle, NotSupportedOperation, PermissionDenied, Uploaded, UploadFailure, Uploading, AcceptedCanceled

requestId integer

The requestId from the GetLog request

Example Payload

{
  "status": "Uploaded",
  "requestId": 1
}

Example Full Frame

[
  2,
  "msg-001",
  "LogStatusNotification",
  {
    "status": "Uploaded",
    "requestId": 1
  }
]

Format: [MessageType, MessageId, Action, Payload]

Overview

LogStatusNotification reports the progress of a log upload initiated by GetLog. It replaces DiagnosticsStatusNotification from OCPP 1.6J.

Expected Response

Empty response {}.

Key Differences from OCPP 1.6J

  • Replaces DiagnosticsStatusNotification
  • requestId is required to link to the specific GetLog request
  • More status values: BadMessage, PermissionDenied, AcceptedCanceled

Testing Tips

  • Verify UploadingUploaded sequence on success
  • Verify UploadFailure when the server is unreachable

Common Errors

TypeConstraintViolation

Cause: status uses a value from OCPP 1.6J DiagnosticsStatusNotification

Solution: OCPP 2.0.1 uses UploadLogStatusEnumType values, not the old DiagnosticsStatus values