Skip to content

OCPP 2.1 support #406

@robert-s-ubi

Description

@robert-s-ubi

Time to get rolling with OCPP 2.1!

PR #405 adds the OCPP 2.1 messages and types, and adds OCPP 2.1 to the protocol version enum, which is almost everything needed to fully implement OCPP 2.1.

What's missing:

  1. NotifyEventStream support. This is a new type of unidirectional message introduced in OCPP 2.1, which uses a new RPC MessageType "SEND". The problem with this is that the library currently has no mechanism to send a message without expecting a response, nor to handle an incoming message without sending anything back, so API changes/extensions are probably needed for this.

  2. OCPP 2.1 introduces another new RPC MessageType "CALLRESULTERROR" to report back errors which occurred while processing a "CALLRESULT". The library currently sends a "CALLERROR" in this situation, which is actually not foreseen in any OCPP version, and will fail OCPP certification tests. So the code should be fixed to send "CALLRESULTERROR" if connected with OCPP 2.1, and nothing if connected with any earlier OCPP version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions