You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/common/getting_started.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,22 @@ make -j$(nproc) install
42
42
43
43
Run any required tests from build/tests.
44
44
45
+
## Clarifications for directory structures, namespaces and OCPP versions
46
+
47
+
This repository contains multiple subdirectories and namespaces named v16, v2 and v21.
48
+
49
+
* The v16 directories contain files for configuring and implementing OCPP 1.6.
50
+
* The v2 directories include files for both OCPP2.0.1 and OCPP2.1, as OCPP 2.1
51
+
is fully backward compatible with OCPP 2.0.1.
52
+
* The v21 directories include files only for OCPP2.1.
53
+
45
54
## Get Started with OCPP1.6
46
55
47
56
Please see the [Getting Started documentation for OCPP1.6](../v16/getting_started.md).
48
57
49
58
## Get Started with OCPP2.0.1
50
59
51
-
Please see the [Getting Started documentation for OCPP2.0.1](../v201/getting_started.md).
60
+
Please see the [Getting Started documentation for OCPP2.0.1](../v2/getting_started.md).
52
61
53
62
## Building the doxygen documentation
54
63
@@ -60,4 +69,4 @@ Please see the [Getting Started documentation for OCPP2.0.1](../v201/getting_sta
60
69
You will find the generated doxygen documentation at:
61
70
`build/dist/docs/html/index.html`
62
71
63
-
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 that is the ocpp::v201::ChargePoint class defined in `v201/charge_point.hpp` .
72
+
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` .
Copy file name to clipboardexpand all lines: doc/v2/getting_started.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,4 @@ Libocpp needs registered **callbacks** in order to execute control commands defi
10
10
11
11
The implementation must call **event handlers** of libocpp so that the library can track the state of the charging station and trigger OCPP messages accordingly (e.g. MeterValuesRequest , StatusNotificationRequest)
12
12
13
-
Your reference within libocpp to interact is a single instance to the class ocpp::v201::ChargePoint defined in `v201/charge_point.hpp` for OCPP 2.0.1.
13
+
Your reference within libocpp to interact is a single instance to the class ocpp::v2::ChargePoint defined in `v2/charge_point.hpp` for OCPP 2.0.1.
0 commit comments