Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter

- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
This commit is contained in:
Eric F
2026-06-08 00:38:27 -04:00
parent 468cfeaa50
commit d398a6ced2
7326 changed files with 1177561 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright Pionix GmbH and Contributors to EVerest
#include "auth_token_providerImpl.hpp"
#include <everest/helpers/helpers.hpp>
namespace module {
namespace main {
void auth_token_providerImpl::init() {
mod->r_evse->subscribe_session_event([this](types::evse_manager::SessionEvent event) {
if (event.event == types::evse_manager::SessionEventEnum::SessionStarted) {
types::authorization::ProvidedIdToken token;
token.id_token = {config.token, types::authorization::IdTokenType::ISO14443};
token.authorization_type = types::authorization::string_to_authorization_type(config.type);
if (config.connector_id > 0) {
token.connectors.emplace({config.connector_id});
}
token.parent_id_token = {config.token, types::authorization::IdTokenType::ISO14443};
EVLOG_info << "Publishing new dummy token: " << everest::helpers::redact(token);
publish_provided_token(token);
}
});
}
void auth_token_providerImpl::ready() {
}
} // namespace main
} // namespace module