mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Add more battery info page for Chademo
This commit is contained in:
parent
92daa175d3
commit
6936681366
6 changed files with 144 additions and 38 deletions
|
@ -12,6 +12,15 @@ std::vector<BatteryCommand> battery_commands = {
|
|||
[](Battery* b) {
|
||||
b->clear_isolation();
|
||||
}},
|
||||
{"chademoRestart", "Restart", "restart the V2X session?",
|
||||
[](Battery* b) { return b && b->supports_chademo_restart(); },
|
||||
[](Battery* b) {
|
||||
b->chademo_restart();
|
||||
}},
|
||||
{"chademoStop", "Stop", "stop V2X?", [](Battery* b) { return b && b->supports_chademo_restart(); },
|
||||
[](Battery* b) {
|
||||
b->chademo_restart();
|
||||
}},
|
||||
{"resetBMS", "BMS reset", "reset the BMS?", [](Battery* b) { return b && b->supports_reset_BMS(); },
|
||||
[](Battery* b) {
|
||||
b->reset_BMS();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue