Skip to content
Documentation Menu

Notify Display Messages

Source: OCPP 2.0.1 Part 2 — Specification (Edition 2, 2022-12-15) — Section 1.35 (Messages); Use Cases O03 — Get All DisplayMessages, O04 — Get Specific DisplayMessages (Functional Block O. DisplayMessage)

Overview

After the CSMS sends GetDisplayMessagesRequest, the Charging Station replies with one or more NotifyDisplayMessagesRequest messages containing the matching display messages. The report can be split across multiple messages using the tbc ("to be continued") flag.

Sequence Diagram

Charging Station  ──── NotifyDisplayMessagesRequest ────▶  CSMS
                       (requestId, tbc?, messageInfo[]?)
Charging Station  ◀─── NotifyDisplayMessagesResponse ────  CSMS

(repeated until tbc = false)

Initiator

Charging Station → CSMS

Fields

Field NameField TypeCard.Description
requestIdinteger1..1Required. The id of the originating GetDisplayMessagesRequest.
tbcboolean0..1Optional. "To be continued" indicator. Default false.
messageInfoMessageInfoType0..*Optional. The requested display message(s) as configured in the Charging Station.

MessageInfoType (selected fields)

FieldTypeCard.Description
idinteger1..1Identifier of the message.
priorityMessagePriorityEnumType1..1AlwaysFront, InFront, NormalCycle.
stateMessageStateEnumType0..1Charging, Faulted, Idle, Unavailable.
startDateTimedateTime0..1Optional start time of the message.
endDateTimedateTime0..1Optional end time of the message.
transactionIdidentifierString [0..36]0..1If linked to a specific transaction.
messageMessageContentType1..1The actual message content, format and language.
displayComponentType0..1The display where the message should be shown.

Examples

{
  "requestId": 88,
  "tbc": false,
  "messageInfo": [
    {
      "id": 1,
      "priority": "InFront",
      "state": "Idle",
      "message": {
        "format": "ASCII",
        "language": "en",
        "content": "Welcome — please plug in your cable"
      }
    }
  ]
}

Schema

Source: schemas/NotifyDisplayMessagesRequest.json, schemas/NotifyDisplayMessagesResponse.json (OCPP 2.0.1 FINAL)

Request schema (JSON Schema)
Response schema (JSON Schema)