-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPP 2.0.1 enable switch, Variables and Transactions #247
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matth-x
changed the title
OCPP 2.0.1 incremental upgrade
OCPP 2.0.1 enable switch, Variables and Transactions
Feb 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Edit: Add first modules for OCPP 2.0.1
This PR adds basic support for Variables (non-persistent) and Transactions (evaluation only).
All OCPP 2.0.1 features are in a development stage. They are managed in the master branch of this repository as well to facilitate the interoperability with the continuously maintained OCPP 1.6 functionality. By default, the new OCPP 2.0.1 features are not compiled into the firmware so there is no firmware size overhead. To enable them, set the build flag
MO_ENABLE_V201
to 1. Then the host system can select the OCPP version during the initialization of MicroOcpp via theProtocolVersion
parameter.Added:
ProtocolVersion
selects v1.6 or v2.0.1MO_ENABLE_V201
is used to exclude new data structures so that the WIP causes no firmware size overhead when only v1.6 will be usedprotocolVersion
andMO_ENABLE_V201
in real codeOld, before edit: MicroOcpp will be upgraded with OCPP 2.0.1 in incremental steps on the master branch. The purpose of this evaluation branch is to make a proof-of-concept of the step-by-step development of v2.0.1 while not breaking any of the existing v1.6 features.