Docs › OCPP 1.6 › LogStatusNotification

LogStatusNotification OCPP 1.6

Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.

Auch in: OCPP 2.0.1, OCPP 2.1

Request

FeldTypEinschränkungen / Beschreibung
statusstringPflichtenum: BadMessage, Idle, NotSupportedOperation, PermissionDenied, Uploaded, UploadFailure, Uploading
requestIdinteger
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.req",
  "definitions": {
    "UploadLogStatusEnumType": {
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "BadMessage",
        "Idle",
        "NotSupportedOperation",
        "PermissionDenied",
        "Uploaded",
        "UploadFailure",
        "Uploading"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "status": {
      "$ref": "#/definitions/UploadLogStatusEnumType"
    },
    "requestId": {
      "type": "integer"
    }
  },
  "required": [
    "status"
  ]
}

Response

Leeres Objekt {}.

JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.conf",
  "type": "object",
  "additionalProperties": false
}

Quelle: Open Charge Alliance, OCPP 1.6 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.