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
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
status | string | Pflicht | enum: BadMessage, Idle, NotSupportedOperation, PermissionDenied, Uploaded, UploadFailure, Uploading |
requestId | integer |
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.