Skip to content

Commit

Permalink
makes the module be able to handle OCPP 2.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: MarzellT <[email protected]>
  • Loading branch information
MarzellT committed Aug 22, 2024
1 parent 9bbd78d commit f8a18f2
Show file tree
Hide file tree
Showing 13 changed files with 509 additions and 136 deletions.
1 change: 1 addition & 0 deletions modules/OCPPConfiguration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ target_sources(${MODULE_NAME}
"main/mapping_reader.cpp"
"main/util.cpp"
"main/event_handler.cpp"
"main/everest_config_mapping.cpp"
)
# ev@bcc62523-e22b-41d7-ba2f-825b493a3c97:v1

Expand Down
3 changes: 3 additions & 0 deletions modules/OCPPConfiguration/OCPPConfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ void OCPPConfiguration::init() {
void OCPPConfiguration::ready() {
invoke_ready(*p_main);

auto wait_attached = false;
while (wait_attached) {
};
const auto mapping_file_path = std::filesystem::path{config.mapping_file_path};
event_handler = std::make_unique<EventHandler>(mapping_file_path);

Expand Down
Loading

0 comments on commit f8a18f2

Please sign in to comment.