|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
For Debian GNU/Linux 11 you will need the following dependencies:
OpenSSL version 3.0 or above is required.
Clone this repository.
In the libocpp folder create a folder named build and cd into it. Execute cmake and then make:
GTest is required for building the test cases target. To build the target and run the tests you can reference the script .ci/build-kit/install_and_test.sh. The script allows the GitHub Actions runner to execute.
Local testing:
Run any required tests from build/tests.
This repository contains multiple subdirectories and namespaces named v16, v2 and v21.
Please see the Getting Started documentation for OCPP1.6.
Please see the Getting Started documentation for OCPP2.0.1.
You will find the generated doxygen documentation at: build/dist/docs/html/index.html
The main reference for the integration of libocpp for OCPP1.6 is the ocpp::v16::ChargePoint class defined in v16/charge_point.hpp , for OCPP2.0.1 and OCPP2.1 that is the ocpp::v2::ChargePoint class defined in v2/charge_point.hpp .