Skip to content
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

Prepare v1.2.0 release #381

Merged
merged 7 commits into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
repository: matth-x/MicroOcppSimulator
path: MicroOcppSimulator
ref: 20e8da7b76a3f5f3e50facab018a457ecdbcca59
ref: 2cb07cdbe53954a694a29336ab31eac2d2b48673
submodules: 'recursive'
- name: Clean MicroOcpp submodule
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/esp-idf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: matth-x/MicroOcppMongoose
ref: v1.1.0
ref: v1.2.0
path: examples/ESP-IDF/components/MicroOcppMongoose
- name: Checkout ArduinoJson
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## [1.2.0] - 2024-11-03

### Changed

Expand Down
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
[![Unit tests]( https://github.com/matth-x/MicroOcpp/workflows/Unit%20tests/badge.svg)](https://github.com/matth-x/MicroOcpp/actions)
[![codecov](https://codecov.io/github/matth-x/ArduinoOcpp/branch/develop/graph/badge.svg?token=UN6LO96HM7)](https://codecov.io/github/matth-x/ArduinoOcpp)

OCPP 1.6 client for microcontrollers. Portable C/C++. Compatible with Espressif, Arduino, NXP, STM, Linux and more.
OCPP 1.6 / 2.0.1 client for microcontrollers. Portable C/C++. Compatible with Espressif, Arduino, NXP, STM, Linux and more.

:heavy_check_mark: Works with [15+ commercial Central Systems](https://www.micro-ocpp.com/#h.314525e8447cc93c_81)

:heavy_check_mark: Eligible for public chargers (Eichrecht-compliant)

:heavy_check_mark: Supports all OCPP 1.6 feature profiles and OCPP 2.0.1 preview
:heavy_check_mark: Supports all OCPP 1.6 feature profiles and the [basic OCPP 2.0.1 UCs](https://github.com/matth-x/MicroOcpp/tree/feature/prepare-release?tab=readme-ov-file#ocpp-201-and-iso-15118)

Reference usage: [OpenEVSE](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/blob/master/src/ocpp.cpp) | Technical introduction: [Docs](https://matth-x.github.io/MicroOcpp/intro-tech) | Website: [www.micro-ocpp.com](https://www.micro-ocpp.com)

Expand All @@ -32,7 +32,7 @@ If you don't have an OCPP server at hand, leave the charge box ID blank and ente

## Benchmarks

*Full report: [MicroOCPP benchmark (esp-idf)](https://github.com/matth-x/MicroOcpp-benchmark)*
*Full report: [MicroOCPP benchmarks](https://matth-x.github.io/MicroOcpp/benchmarks/)*

The following measurements were taken on the ESP32 @ 160MHz and represent the optimistic best case scenario for a charger with two physical connectors (i.e. compiled with `-Os`, disabled debug output and logs).

Expand Down Expand Up @@ -69,22 +69,27 @@ If using the built-in certificate store (to enable, set build flag `MO_ENABLE_MB

- [Mbed-TLS/mbedtls](https://github.com/Mbed-TLS/mbedtls) (version `2.28.1`)

In case you use PlatformIO, you can copy all dependencies from `platformio.ini` into your own configuration file. Alternatively, you can install the full library with dependencies by adding `matth-x/MicroOcpp@1.1.0` in the PIO library manager.
In case you use PlatformIO, you can copy all dependencies from `platformio.ini` into your own configuration file. Alternatively, you can install the full library with dependencies by adding `matth-x/MicroOcpp@1.2.0` in the PIO library manager.

## OCPP 2.0.1 and ISO 15118

The following OCPP 2.0.1 use cases are implemented:

| UC | Description | Note |
| :--- | :--- | :--- |
| M03 - M05 | Certificate management | Enable Mbed-TLS to use the built-in certificate store |
| B05 - B07 | Variables | |
| B01 - B04<br>B11 - B12 | Provisioning | Ported from OCPP 1.6 |
| B05 - B07 | Variables | |
| C01 - C06 | Authorization options | |
| C15 | Offline Authorization | |
| E01 - E12 | Transactions | |
| F01 - F02 | Remote Start/Stop Tx | |
| F01 - F03<br>F05 - F06 | RemoteControl | |
| G01 - G04 | Availability | |
| J02 | Tx-related MeterValues | persistency not supported yet |
| M03 - M05 | Certificate management | Enable Mbed-TLS to use the built-in certificate store |
| P01 - P02 | Data transfer | |
| - | Protocol negotiation | The charger can select the OCPP version at runtime |

The OCPP 2.0.1 features are in an alpha development stage (no persistency yet). By default, they are disabled and excluded from the build, so they have no impact on the firmware size. To enable, set the build flag `MO_ENABLE_V201=1` and initialize the library with the ProtocolVersion parameter `2.0.1` (see [this example](https://github.com/matth-x/MicroOcppSimulator/blob/657e606c3b178d3add242935d413c72624130ff3/src/main.cpp#L43-L47) in the Simulator).
The OCPP 2.0.1 features are in an alpha development stage. By default, they are disabled and excluded from the build, so they have no impact on the firmware size. To enable, set the build flag `MO_ENABLE_V201=1` and initialize the library with the ProtocolVersion parameter `2.0.1` (see [this example](https://github.com/matth-x/MicroOcppSimulator/blob/657e606c3b178d3add242935d413c72624130ff3/src/main.cpp#L43-L47) in the Simulator).

An integration of the library for OCPP 1.6 will also be functional with the 2.0.1 upgrade. It works with the same API in MicroOcpp.h.

Expand Down
7 changes: 3 additions & 4 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "MicroOcpp",
"version": "1.2.0",
"description": "OCPP 1.6 Client for microcontrollers",
"keywords": "OCPP, 1.6, OCPP 1.6, Smart Energy, Smart Charging, client, ESP8266, ESP32, Arduino, esp-idf, EVSE, Charge Point",
"description": "OCPP 1.6 / 2.0.1 Client for microcontrollers",
"keywords": "OCPP, 1.6, OCPP 1.6, OCPP 2.0.1, Smart Energy, Smart Charging, client, ESP8266, ESP32, Arduino, esp-idf, EVSE, Charge Point",
"repository":
{
"type": "git",
Expand Down Expand Up @@ -46,8 +46,7 @@
"LICENSE",
"mkdocs.yml",
"platformio.ini",
"README.md",
"SConscript.py"
"README.md"
]
},

Expand Down
Loading