Skip to content

fix: adding missing OCPP1.6 Configuration Keys (#1796)#1801

Merged
Pietfried merged 1 commit intoEVerest:mainfrom
ThatsLucas:hidden-ocpp-v16
Feb 19, 2026
Merged

fix: adding missing OCPP1.6 Configuration Keys (#1796)#1801
Pietfried merged 1 commit intoEVerest:mainfrom
ThatsLucas:hidden-ocpp-v16

Conversation

@ThatsLucas
Copy link
Copy Markdown
Contributor

OCPP 1.6: add missing configuration keys to ChargePointConfiguration::get()

Fixes #1796.

Expose configuration keys that were configurable locally but not retrievable via OCPP 1.6 GetConfiguration due to missing cases in ChargePointConfiguration::get().

Describe your changes

Issue ticket number and link

#1796

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@Pietfried
Copy link
Copy Markdown
Contributor

Hi @ThatsLucas , thanks for the contribution! The changes look good. Unfortunately 0a2c98d introduced conflicts. Can you rebase and resolve it? Please make sure you squash your commits into one.

@ThatsLucas
Copy link
Copy Markdown
Contributor Author

Hello @Pietfried, done, tell me if anything is wrong :)

@ThatsLucas
Copy link
Copy Markdown
Contributor Author

Im not sure whats wrong with the unit tests

@Pietfried
Copy link
Copy Markdown
Contributor

Im not sure whats wrong with the unit tests

You can download the ctest-report artifact from https://github.com/EVerest/everest-core/actions/runs/21981574665?pr=1801 or alternatively run the unit tests locally. Feel free to let us know if you need help with analyzing the issue.

@ThatsLucas
Copy link
Copy Markdown
Contributor Author

As I understand it, the tests were previously expecting these keys not to return any value.
Since they are now exposed, I updated the test files accordingly.

Please let me know if this interpretation is incorrect or if further changes are needed.

Comment thread lib/everest/ocpp/lib/ocpp/v16/known_keys.cpp
Comment thread lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_custom.cpp
Comment thread lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_custom.cpp Outdated
…::get()

Fixes EVerest#1796.

Expose configuration keys that were configurable locally but not
retrievable via OCPP 1.6 GetConfiguration due to missing cases in
ChargePointConfiguration::get().

Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>

v16: add missing KeyValue getters in device model

Sorry, I forgot to implement the new interface methods. This adds the
missing TLS keylog and TPM KeyValue getters to keep the device model
in sync with ChargePointConfigurationInterface.

Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>

Changed test_custom.cpp to add tests for the new hidden keys.
Updated known_keys.cpp to include the new hidden keys.
Updated charge_point_configuration_devicemodel.cpp to handle the new hidden keys in get() and set() methods.
Updated charge_point_configuration_interface.hpp to declare the new hidden keys.

Made the change requested by james-ctc.
It is now complient with the existing standard.
Changed Read only check order in test_custom.cpp.

Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>
@Pietfried Pietfried requested a review from james-ctc February 16, 2026 10:42
@Pietfried Pietfried added the include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible label Feb 16, 2026
Copy link
Copy Markdown
Member

@james-ctc james-ctc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@Pietfried Pietfried added this pull request to the merge queue Feb 19, 2026
Merged via the queue into EVerest:main with commit 4cf8694 Feb 19, 2026
12 checks passed
@ThatsLucas ThatsLucas deleted the hidden-ocpp-v16 branch February 19, 2026 15:38
Dalachowsky pushed a commit to Dalachowsky/everest-core that referenced this pull request Feb 20, 2026
…::get() (EVerest#1801)

Fixes EVerest#1796.

Expose configuration keys that were configurable locally but not
retrievable via OCPP 1.6 GetConfiguration due to missing cases in
ChargePointConfiguration::get().



v16: add missing KeyValue getters in device model

Sorry, I forgot to implement the new interface methods. This adds the
missing TLS keylog and TPM KeyValue getters to keep the device model
in sync with ChargePointConfigurationInterface.



Changed test_custom.cpp to add tests for the new hidden keys.
Updated known_keys.cpp to include the new hidden keys.
Updated charge_point_configuration_devicemodel.cpp to handle the new hidden keys in get() and set() methods.
Updated charge_point_configuration_interface.hpp to declare the new hidden keys.

Made the change requested by james-ctc.
It is now complient with the existing standard.
Changed Read only check order in test_custom.cpp.

Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hidden OCPP1.6 Configuration Keys

3 participants