Skip to content

Commit de87719

Browse files
committed
change naming for release II
1 parent 81394b3 commit de87719

9 files changed

+253
-253
lines changed

CMakeLists.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
# matth-x/ArduinoOcppMongoose
1+
# matth-x/MicroOcppMongoose
22
# Copyright Matthias Akstaller 2019 - 2023
33
# MIT License
44

55
cmake_minimum_required(VERSION 3.15)
66

7-
set(AO_MG_SRC
8-
src/ArduinoOcppMongooseClient_c.cpp
9-
src/ArduinoOcppMongooseClient.cpp
10-
src/ArduinoOcppMongooseFtp.cpp
7+
set(MOCPP_MG_SRC
8+
src/MicroOcppMongooseClient_c.cpp
9+
src/MicroOcppMongooseClient.cpp
10+
src/MicroOcppMongooseFtp.cpp
1111
)
1212

1313
if(ESP_PLATFORM)
1414

15-
idf_component_register(SRCS ${AO_MG_SRC}
15+
idf_component_register(SRCS ${MOCPP_MG_SRC}
1616
INCLUDE_DIRS "src"
17-
REQUIRES esp_timer mbedtls mongoose ArduinoOcpp)
17+
REQUIRES esp_timer mbedtls mongoose MicroOcpp)
1818

1919
target_compile_definitions(${COMPONENT_LIB} PRIVATE
2020
)
2121

2222
return()
2323
endif()
2424

25-
add_library(ArduinoOcppMongoose ${AO_MG_SRC})
25+
add_library(MicroOcppMongoose ${MOCPP_MG_SRC})
2626

27-
target_include_directories(ArduinoOcppMongoose PUBLIC
27+
target_include_directories(MicroOcppMongoose PUBLIC
2828
"./src"
2929
"../mongoose"
3030
)
3131

32-
target_compile_definitions(ArduinoOcppMongoose PRIVATE
32+
target_compile_definitions(MicroOcppMongoose PRIVATE
3333
)
3434

35-
target_link_libraries(ArduinoOcppMongoose PUBLIC ArduinoOcpp)
35+
target_link_libraries(MicroOcppMongoose PUBLIC MicroOcpp)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# ArduinoOcppMongoose
2-
Mongoose WebSocket adapter for ArduinoOcpp
1+
# MicroOcppMongoose
2+
Mongoose WebSocket adapter for MicroOcpp
33

44
## Dependencies
55

66
The following projects must be available on the include path:
77

8-
- [Mongoose Embedded Networking Library v6.14 / v7.8](https://github.com/cesanta/mongoose/tree/76e6b23a4f0261dd534d33632f42ea1bba99dc85): The ArduinoOcppMongoose adapter works with the amalgamated files `mongoose.h` and `mongoose.c`. You may need to copy them from the Mongoose-repository into the `src` folder of your project. To use the backwards-compatibility mode with v6.14, set the build flag `AO_MG_VERSION_614`.
8+
- [Mongoose Embedded Networking Library v6.14 / v7.8](https://github.com/cesanta/mongoose/tree/76e6b23a4f0261dd534d33632f42ea1bba99dc85): The MicroOcppMongoose adapter works with the amalgamated files `mongoose.h` and `mongoose.c`. You may need to copy them from the Mongoose-repository into the `src` folder of your project. To use the backwards-compatibility mode with v6.14, set the build flag `MOCPP_MG_VERSION_614`.
99
- [ArduinoJson v6.19.1](https://github.com/bblanchon/ArduinoJson/tree/079ccadbee4100ad0b2d06f11de8c412b95853c1)
10-
- [ArduinoOcpp](https://github.com/matth-x/ArduinoOcpp)
10+
- [MicroOcpp](https://github.com/matth-x/MicroOcpp)
1111

1212
The setup is done if the following include statements work:
1313

1414
```cpp
1515
#include "mongoose.h"
1616
#include <ArduinoJson.h>
17-
#include <ArduinoOcpp.h>
17+
#include <MicroOcpp.h>
1818
```
1919

2020
The last dependency is [base64-converter by Densaugeo](https://github.com/Densaugeo/base64_arduino), but it is already included in this repository. Thanks to [Densaugeo](https://github.com/Densaugeo) for providing it!
2121

2222
## License
2323

24-
This project is licensed under the GPL as it uses the [Mongoose Embedded Networking Library](https://github.com/cesanta/mongoose). If you have a proprietary license of Mongoose, then the [MIT License](https://github.com/matth-x/ArduinoOcpp/blob/master/LICENSE) applies.
24+
This project is licensed under the GPL as it uses the [Mongoose Embedded Networking Library](https://github.com/cesanta/mongoose). If you have a proprietary license of Mongoose, then the [MIT License](https://github.com/matth-x/MicroOcpp/blob/master/LICENSE) applies.

library.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "ArduinoOcppMongoose",
2+
"name": "MicroOcppMongoose",
33
"version": "0.1.0",
4-
"description": "Mongoose Adapter for the ArduinoOcpp Client",
4+
"description": "Mongoose Adapter for the MicroOcpp Client",
55
"keywords": "OCPP, 1.6, OCPP 1.6, Smart Energy, Smart Charging, client, ESP8266, ESP32, Arduino, EVSE, Charge Point, Mongoose",
66
"repository":
77
{
88
"type": "git",
9-
"url": "https://github.com/matth-x/ArduinoOcppMongoose/"
9+
"url": "https://github.com/matth-x/MicroOcppMongoose/"
1010
},
1111
"authors":
1212
[
@@ -23,12 +23,12 @@
2323
"export": {
2424
"include":
2525
[
26-
"src/ArduinoOcppMongooseClient_c.cpp",
27-
"src/ArduinoOcppMongooseClient_c.h",
28-
"src/ArduinoOcppMongooseClient.cpp",
29-
"src/ArduinoOcppMongooseClient.h",
30-
"src/ArduinoOcppMongooseFtp.cpp",
31-
"src/ArduinoOcppMongooseFtp.h",
26+
"src/MicroOcppMongooseClient_c.cpp",
27+
"src/MicroOcppMongooseClient_c.h",
28+
"src/MicroOcppMongooseClient.cpp",
29+
"src/MicroOcppMongooseClient.h",
30+
"src/MicroOcppMongooseFtp.cpp",
31+
"src/MicroOcppMongooseFtp.h",
3232
"src/base64.hpp",
3333
"CMakeLists.txt",
3434
"library.json",

0 commit comments

Comments
 (0)