- 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
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright Pionix GmbH and Contributors to EVerest
|
|
#ifndef RUNAPPLICATIONSTUB_HPP
|
|
#define RUNAPPLICATIONSTUB_HPP
|
|
|
|
#include <everest/run_application/run_application.hpp>
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
namespace stub {
|
|
|
|
class RunApplication {
|
|
public:
|
|
static RunApplication* active_p;
|
|
|
|
std::map<std::string, everest::run_application::CmdOutput> results;
|
|
bool signal_poll_called;
|
|
bool psk_called;
|
|
bool sae_password_called;
|
|
bool key_mgmt_called;
|
|
bool scan_ssid_called;
|
|
bool ieee80211w_called;
|
|
std::string key_mgmt_value;
|
|
std::string ieee80211w_value;
|
|
|
|
RunApplication();
|
|
virtual ~RunApplication();
|
|
|
|
virtual everest::run_application::CmdOutput run_application(const std::string& name, std::vector<std::string> args);
|
|
};
|
|
|
|
} // namespace stub
|
|
namespace everest::run_application {
|
|
CmdOutput run_application(const std::string& name, std::vector<std::string> args,
|
|
const std::function<CmdControl(const std::string& output_line)> output_callback);
|
|
}
|
|
|
|
#endif // RUNAPPLICATIONSTUB_HPP
|