Files
Eric F d398a6ced2 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
2026-06-08 00:38:27 -04:00

82 lines
2.5 KiB
C++

// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 - 2026 Pionix GmbH and Contributors to EVerest
#ifndef BUEVSE_BOARD_SUPPORT_HPP
#define BUEVSE_BOARD_SUPPORT_HPP
//
// AUTO GENERATED - MARKED REGIONS WILL BE KEPT
// template version 2
//
#include "ld-ev.hpp"
// headers for required interface implementations
#include <generated/interfaces/ac_rcd/Interface.hpp>
#include <generated/interfaces/connector_lock/Interface.hpp>
#include <generated/interfaces/evse_board_support/Interface.hpp>
// ev@4bf81b14-a215-475c-a1d3-0a484ae48918:v1
// insert your custom include headers here
// ev@4bf81b14-a215-475c-a1d3-0a484ae48918:v1
namespace module {
struct Conf {};
class BUEvseBoardSupport : public Everest::ModuleBase {
public:
BUEvseBoardSupport() = delete;
BUEvseBoardSupport(const ModuleInfo& info, std::unique_ptr<evse_board_supportIntf> r_bsp,
std::vector<std::unique_ptr<connector_lockIntf>> r_lock_motor,
std::vector<std::unique_ptr<ac_rcdIntf>> r_ac_rcd, Conf& config) :
ModuleBase(info),
r_bsp(std::move(r_bsp)),
r_lock_motor(std::move(r_lock_motor)),
r_ac_rcd(std::move(r_ac_rcd)),
config(config){};
const std::unique_ptr<evse_board_supportIntf> r_bsp;
const std::vector<std::unique_ptr<connector_lockIntf>> r_lock_motor;
const std::vector<std::unique_ptr<ac_rcdIntf>> r_ac_rcd;
const Conf& config;
// ev@1fce4c5e-0ab8-41bb-90f7-14277703d2ac:v1
// insert your public definitions here
// ev@1fce4c5e-0ab8-41bb-90f7-14277703d2ac:v1
protected:
// ev@4714b2ab-a24f-4b95-ab81-36439e1478de:v1
// insert your protected definitions here
// ev@4714b2ab-a24f-4b95-ab81-36439e1478de:v1
private:
friend class LdEverest;
void init();
void ready();
// ev@211cfdbe-f69a-4cd6-a4ec-f8aaa3d1b6c8:v1
// insert your private definitions here
std::mutex data_mutex;
std::string cp_state;
std::string relais_feedback;
std::string telemetry;
std::string proximity_pilot;
std::string stop_transaction;
std::vector<std::vector<std::string>> hw_caps;
std::chrono::time_point<std::chrono::steady_clock> last_allow_power_on_time_point;
std::string last_error_raised;
std::string last_error_cleared;
std::string rcd_current_display;
std::string rcd_reset_result;
// ev@211cfdbe-f69a-4cd6-a4ec-f8aaa3d1b6c8:v1
};
// ev@087e516b-124c-48df-94fb-109508c7cda9:v1
// insert other definitions here
// ev@087e516b-124c-48df-94fb-109508c7cda9:v1
} // namespace module
#endif // BUEVSE_BOARD_SUPPORT_HPP