diff --git a/Builds/DieBieMSToolV0.20Windows.zip b/Builds/DieBieMSToolV0.20Windows.zip deleted file mode 100644 index 621de6e..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows.zip and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/D3Dcompiler_47.dll b/Builds/DieBieMSToolV0.20Windows/D3Dcompiler_47.dll deleted file mode 100644 index e5bf5cf..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/D3Dcompiler_47.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/DieBieMSToolV0.20.exe b/Builds/DieBieMSToolV0.20Windows/DieBieMSToolV0.20.exe deleted file mode 100644 index fdf5c4f..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/DieBieMSToolV0.20.exe and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Bluetooth.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Bluetooth.dll deleted file mode 100644 index 60cbcb5..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Bluetooth.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Core.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Core.dll deleted file mode 100644 index 636c0d3..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Core.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Gui.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Gui.dll deleted file mode 100644 index 37ad0fc..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Gui.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Network.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Network.dll deleted file mode 100644 index 09b19f8..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Network.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5PrintSupport.dll b/Builds/DieBieMSToolV0.20Windows/Qt5PrintSupport.dll deleted file mode 100644 index 249e901..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5PrintSupport.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Qml.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Qml.dll deleted file mode 100644 index 224bbc9..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Qml.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Quick.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Quick.dll deleted file mode 100644 index 16ed1df..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Quick.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5SerialPort.dll b/Builds/DieBieMSToolV0.20Windows/Qt5SerialPort.dll deleted file mode 100644 index b0a1107..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5SerialPort.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Svg.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Svg.dll deleted file mode 100644 index 4c8c76e..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Svg.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/Qt5Widgets.dll b/Builds/DieBieMSToolV0.20Windows/Qt5Widgets.dll deleted file mode 100644 index 6b7d2f2..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/Qt5Widgets.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/bearer/qgenericbearer.dll b/Builds/DieBieMSToolV0.20Windows/bearer/qgenericbearer.dll deleted file mode 100644 index 07bf6ff..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/bearer/qgenericbearer.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/iconengines/qsvgicon.dll b/Builds/DieBieMSToolV0.20Windows/iconengines/qsvgicon.dll deleted file mode 100644 index 0424229..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/iconengines/qsvgicon.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qgif.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qgif.dll deleted file mode 100644 index 555d671..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qgif.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qicns.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qicns.dll deleted file mode 100644 index 86ce487..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qicns.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qico.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qico.dll deleted file mode 100644 index 7f1f055..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qico.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qjpeg.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qjpeg.dll deleted file mode 100644 index a425178..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qjpeg.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qsvg.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qsvg.dll deleted file mode 100644 index 460712b..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qsvg.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qtga.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qtga.dll deleted file mode 100644 index c306486..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qtga.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qtiff.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qtiff.dll deleted file mode 100644 index c9a4219..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qtiff.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qwbmp.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qwbmp.dll deleted file mode 100644 index 2cc8a43..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qwbmp.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/imageformats/qwebp.dll b/Builds/DieBieMSToolV0.20Windows/imageformats/qwebp.dll deleted file mode 100644 index 9fcb4a6..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/imageformats/qwebp.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/libEGL.dll b/Builds/DieBieMSToolV0.20Windows/libEGL.dll deleted file mode 100644 index e083b9c..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/libEGL.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/libGLESV2.dll b/Builds/DieBieMSToolV0.20Windows/libGLESV2.dll deleted file mode 100644 index adfde12..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/libGLESV2.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/libgcc_s_dw2-1.dll b/Builds/DieBieMSToolV0.20Windows/libgcc_s_dw2-1.dll deleted file mode 100644 index 0212fb5..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/libgcc_s_dw2-1.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/libstdc++-6.dll b/Builds/DieBieMSToolV0.20Windows/libstdc++-6.dll deleted file mode 100644 index 95cb7ac..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/libstdc++-6.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/libwinpthread-1.dll b/Builds/DieBieMSToolV0.20Windows/libwinpthread-1.dll deleted file mode 100644 index 8253c18..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/libwinpthread-1.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/opengl32sw.dll b/Builds/DieBieMSToolV0.20Windows/opengl32sw.dll deleted file mode 100644 index 6ebc90a..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/opengl32sw.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/platforminputcontexts/qtvirtualkeyboardplugin.dll b/Builds/DieBieMSToolV0.20Windows/platforminputcontexts/qtvirtualkeyboardplugin.dll deleted file mode 100644 index ac3028f..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/platforminputcontexts/qtvirtualkeyboardplugin.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/platforms/qwindows.dll b/Builds/DieBieMSToolV0.20Windows/platforms/qwindows.dll deleted file mode 100644 index 582813d..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/platforms/qwindows.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/printsupport/windowsprintersupport.dll b/Builds/DieBieMSToolV0.20Windows/printsupport/windowsprintersupport.dll deleted file mode 100644 index 9adcef9..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/printsupport/windowsprintersupport.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_debugger.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_debugger.dll deleted file mode 100644 index ba95f70..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_debugger.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_inspector.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_inspector.dll deleted file mode 100644 index 6710a09..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_inspector.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_local.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_local.dll deleted file mode 100644 index ef9cf6b..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_local.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_messages.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_messages.dll deleted file mode 100644 index e4fa176..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_messages.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_native.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_native.dll deleted file mode 100644 index 480f40a..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_native.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_nativedebugger.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_nativedebugger.dll deleted file mode 100644 index 1f0c80c..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_nativedebugger.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_profiler.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_profiler.dll deleted file mode 100644 index b05befd..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_profiler.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_quickprofiler.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_quickprofiler.dll deleted file mode 100644 index 74cfa2b..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_quickprofiler.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_server.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_server.dll deleted file mode 100644 index f9693a1..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_server.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_tcp.dll b/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_tcp.dll deleted file mode 100644 index f23c93b..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_tcp.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/styles/qwindowsvistastyle.dll b/Builds/DieBieMSToolV0.20Windows/styles/qwindowsvistastyle.dll deleted file mode 100644 index ead726d..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/styles/qwindowsvistastyle.dll and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_ar.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_ar.qm deleted file mode 100644 index 1e9227a..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_ar.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_bg.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_bg.qm deleted file mode 100644 index e3d8ddc..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_bg.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_ca.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_ca.qm deleted file mode 100644 index 47e8f38..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_ca.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_cs.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_cs.qm deleted file mode 100644 index 3ab5ca7..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_cs.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_da.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_da.qm deleted file mode 100644 index f1dd332..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_da.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_de.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_de.qm deleted file mode 100644 index 4e5be12..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_de.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_en.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_en.qm deleted file mode 100644 index 9dad8df..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_en.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_es.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_es.qm deleted file mode 100644 index 9bf52bc..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_es.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_fi.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_fi.qm deleted file mode 100644 index 8723ae4..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_fi.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_fr.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_fr.qm deleted file mode 100644 index 8e6bad6..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_fr.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_gd.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_gd.qm deleted file mode 100644 index fd7eecd..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_gd.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_he.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_he.qm deleted file mode 100644 index e15d45e..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_he.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_hu.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_hu.qm deleted file mode 100644 index 997e939..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_hu.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_it.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_it.qm deleted file mode 100644 index 0d9d17d..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_it.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_ja.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_ja.qm deleted file mode 100644 index 81710a3..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_ja.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_ko.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_ko.qm deleted file mode 100644 index 115c6d0..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_ko.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_lv.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_lv.qm deleted file mode 100644 index 14b6764..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_lv.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_pl.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_pl.qm deleted file mode 100644 index 21cd21d..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_pl.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_ru.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_ru.qm deleted file mode 100644 index f834f91..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_ru.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_sk.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_sk.qm deleted file mode 100644 index c23fc83..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_sk.qm and /dev/null differ diff --git a/Builds/DieBieMSToolV0.20Windows/translations/qt_uk.qm b/Builds/DieBieMSToolV0.20Windows/translations/qt_uk.qm deleted file mode 100644 index cfb4fec..0000000 Binary files a/Builds/DieBieMSToolV0.20Windows/translations/qt_uk.qm and /dev/null differ diff --git a/DieBieMSTool.pro b/DieBieMSTool.pro index 4a9a3d9..c9b4d5d 100644 --- a/DieBieMSTool.pro +++ b/DieBieMSTool.pro @@ -5,7 +5,7 @@ #------------------------------------------------- # Version -DT_VERSION = 0.20 +DT_VERSION = 0.21 DEFINES += DT_VERSION=$$DT_VERSION diff --git a/DieBieMSTool.pro.user b/DieBieMSTool.pro.user index 0a3eb81..6618d7f 100644 --- a/DieBieMSTool.pro.user +++ b/DieBieMSTool.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/bleuart.cpp b/bleuart.cpp index 9c1869c..1afa3ea 100644 --- a/bleuart.cpp +++ b/bleuart.cpp @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "bleuart.h" diff --git a/bleuart.h b/bleuart.h index 07e6d9b..f9667de 100644 --- a/bleuart.h +++ b/bleuart.h @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef BLEUART_H #define BLEUART_H diff --git a/bmsinterface.cpp b/bmsinterface.cpp index c913a86..2c3fad1 100644 --- a/bmsinterface.cpp +++ b/bmsinterface.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "bmsinterface.h" #include @@ -400,8 +402,9 @@ QList BMSInterface::listSerialPorts() info.systemPath = port.systemLocation(); int index = res.size(); - if(port.manufacturer().startsWith("STMicroelectronics")) { - info.name.insert(0, "DieBieMS - "); + if(port.manufacturer().startsWith("Silicon")) { + //info.name.insert(0, "DieBieMS - "); + info.name.append(" - DieBieMS"); info.isVesc = true; index = 0; } else { diff --git a/bmsinterface.h b/bmsinterface.h index be9eb0c..15cd11f 100644 --- a/bmsinterface.h +++ b/bmsinterface.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef BMSInterface_H #define BMSInterface_H diff --git a/commands.cpp b/commands.cpp index e83efba..b2bec27 100644 --- a/commands.cpp +++ b/commands.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "commands.h" #include @@ -145,6 +147,7 @@ void Commands::processPacket(QByteArray data) values.tempBMSAverage = vb.vbPopFrontDouble16(1e1); values.opState = opStateToStr((OperationalStateTypedef)vb.vbPopFrontUint8()); + values.balanceActive = vb.vbPopFrontUint8(); emit valuesReceived(values); } break; diff --git a/commands.h b/commands.h index bad6e9a..2bdd9ca 100644 --- a/commands.h +++ b/commands.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef COMMANDS_H #define COMMANDS_H diff --git a/configparam.cpp b/configparam.cpp index 06e7f89..3319820 100644 --- a/configparam.cpp +++ b/configparam.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "configparam.h" diff --git a/configparam.h b/configparam.h index d7122d6..16cc751 100644 --- a/configparam.h +++ b/configparam.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef CONFIGPARAM_H #define CONFIGPARAM_H diff --git a/configparams.cpp b/configparams.cpp index 56c39cd..cc209c7 100644 --- a/configparams.cpp +++ b/configparams.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "configparams.h" #include diff --git a/configparams.h b/configparams.h index 56b3e01..9ada685 100644 --- a/configparams.h +++ b/configparams.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef CONFIGPARAMS_H #define CONFIGPARAMS_H diff --git a/datatypes.h b/datatypes.h index 30b77ea..7614c9a 100644 --- a/datatypes.h +++ b/datatypes.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef DATATYPES_H #define DATATYPES_H @@ -140,6 +142,7 @@ struct BMS_VALUES { Q_PROPERTY(double tempBMSHigh MEMBER tempBMSHigh) Q_PROPERTY(double tempBMSAverage MEMBER tempBMSAverage) Q_PROPERTY(QString opState MEMBER opState) + Q_PROPERTY(int balanceActive MEMBER balanceActive) Q_PROPERTY(QString faultState MEMBER faultState) public: @@ -161,6 +164,7 @@ struct BMS_VALUES { double tempBMSHigh; double tempBMSAverage; QString opState; + int balanceActive; QString faultState; }; diff --git a/digitalfiltering.cpp b/digitalfiltering.cpp index 851c46b..3f75dca 100644 --- a/digitalfiltering.cpp +++ b/digitalfiltering.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "digitalfiltering.h" #include diff --git a/digitalfiltering.h b/digitalfiltering.h index bba117a..303d363 100644 --- a/digitalfiltering.h +++ b/digitalfiltering.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef DIGITALFILTERING_H #define DIGITALFILTERING_H diff --git a/main.cpp b/main.cpp index a431b4d..cd5a153 100644 --- a/main.cpp +++ b/main.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "mainwindow.h" diff --git a/mainwindow.cpp b/mainwindow.cpp index 01bda90..e79331a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "mainwindow.h" diff --git a/mainwindow.h b/mainwindow.h index 2bc8b4f..d9b5b1c 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef MAINWINDOW_H #define MAINWINDOW_H diff --git a/mobile/fwhelper.cpp b/mobile/fwhelper.cpp index 4213a1d..6dffac3 100644 --- a/mobile/fwhelper.cpp +++ b/mobile/fwhelper.cpp @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "fwhelper.h" #include diff --git a/mobile/fwhelper.h b/mobile/fwhelper.h index fc0d3c7..e9db812 100644 --- a/mobile/fwhelper.h +++ b/mobile/fwhelper.h @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef FWHELPER_H #define FWHELPER_H diff --git a/mobile/qmlui.cpp b/mobile/qmlui.cpp index d7ee037..9c04c54 100644 --- a/mobile/qmlui.cpp +++ b/mobile/qmlui.cpp @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "qmlui.h" #include "fwhelper.h" diff --git a/mobile/qmlui.h b/mobile/qmlui.h index 439f964..0ab7988 100644 --- a/mobile/qmlui.h +++ b/mobile/qmlui.h @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef QMLUI_H #define QMLUI_H diff --git a/packet.cpp b/packet.cpp index 887bda9..978b3b0 100644 --- a/packet.cpp +++ b/packet.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "packet.h" diff --git a/packet.h b/packet.h index cfcc446..b27a6de 100644 --- a/packet.h +++ b/packet.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PACKET_H #define PACKET_H diff --git a/pages/pageconnection.cpp b/pages/pageconnection.cpp index 0c1048b..72cc191 100644 --- a/pages/pageconnection.cpp +++ b/pages/pageconnection.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pageconnection.h" #include "ui_pageconnection.h" diff --git a/pages/pageconnection.h b/pages/pageconnection.h index 6e7777f..66b068b 100644 --- a/pages/pageconnection.h +++ b/pages/pageconnection.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGECONNECTION_H #define PAGECONNECTION_H diff --git a/pages/pageconnection.ui b/pages/pageconnection.ui index 537f0e6..5221ac9 100644 --- a/pages/pageconnection.ui +++ b/pages/pageconnection.ui @@ -356,6 +356,9 @@ 255 + + 10 + diff --git a/pages/pagedataanalysis.cpp b/pages/pagedataanalysis.cpp index d3cce30..550ce78 100644 --- a/pages/pagedataanalysis.cpp +++ b/pages/pagedataanalysis.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagedataanalysis.h" #include "ui_pagedataanalysis.h" diff --git a/pages/pagedataanalysis.h b/pages/pagedataanalysis.h index 90d8941..c57012f 100644 --- a/pages/pagedataanalysis.h +++ b/pages/pagedataanalysis.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGEDATAANALYSIS_H #define PAGEDATAANALYSIS_H diff --git a/pages/pagedebugprint.cpp b/pages/pagedebugprint.cpp index 8777584..2af618c 100644 --- a/pages/pagedebugprint.cpp +++ b/pages/pagedebugprint.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagedebugprint.h" #include "ui_pagedebugprint.h" diff --git a/pages/pagedebugprint.h b/pages/pagedebugprint.h index 93f91a6..5d103ef 100644 --- a/pages/pagedebugprint.h +++ b/pages/pagedebugprint.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGEDEBUGPRINT_H #define PAGEDEBUGPRINT_H diff --git a/pages/pagefirmware.cpp b/pages/pagefirmware.cpp index d4a1472..d62c23b 100644 --- a/pages/pagefirmware.cpp +++ b/pages/pagefirmware.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagefirmware.h" #include "ui_pagefirmware.h" diff --git a/pages/pagefirmware.h b/pages/pagefirmware.h index 084b8f7..45296c1 100644 --- a/pages/pagefirmware.h +++ b/pages/pagefirmware.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGEFIRMWARE_H #define PAGEFIRMWARE_H diff --git a/pages/pagemastercell.cpp b/pages/pagemastercell.cpp index 49adc94..4af4335 100644 --- a/pages/pagemastercell.cpp +++ b/pages/pagemastercell.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pagemastercell.h" #include "ui_pagemastercell.h" diff --git a/pages/pagemastercell.h b/pages/pagemastercell.h index 66d991a..52c1679 100644 --- a/pages/pagemastercell.h +++ b/pages/pagemastercell.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGEMASTERCELL_H #define PAGEMASTERCELL_H diff --git a/pages/pagemasterdisplay.cpp b/pages/pagemasterdisplay.cpp index ee1d3bb..fbad833 100644 --- a/pages/pagemasterdisplay.cpp +++ b/pages/pagemasterdisplay.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pagemasterdisplay.h" #include "ui_pagemasterdisplay.h" diff --git a/pages/pagemasterdisplay.h b/pages/pagemasterdisplay.h index 4ad358a..2653629 100644 --- a/pages/pagemasterdisplay.h +++ b/pages/pagemasterdisplay.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGEMASTERDISPLAY_H #define PAGEMASTERDISPLAY_H diff --git a/pages/pagemastergeneral.cpp b/pages/pagemastergeneral.cpp index 4208820..00ed6cf 100644 --- a/pages/pagemastergeneral.cpp +++ b/pages/pagemastergeneral.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pagemastergeneral.h" #include "ui_pagemastergeneral.h" @@ -24,11 +45,10 @@ void PageMasterGeneral::setDieBieMS(BMSInterface *dieBieMS) mDieBieMS = dieBieMS; if (mDieBieMS) { - ui->powerStateTab->addParamRow(mDieBieMS->bmsConfig(), "allowForceOn"); ui->powerStateTab->addParamRow(mDieBieMS->bmsConfig(), "pulseToggleButton"); ui->powerStateTab->addParamRow(mDieBieMS->bmsConfig(), "notUsedCurrentThreshold"); ui->powerStateTab->addParamRow(mDieBieMS->bmsConfig(), "notUsedTimeout"); - + ui->powerStateTab->addParamRow(mDieBieMS->bmsConfig(), "allowForceOn"); ui->canTab->addParamRow(mDieBieMS->bmsConfig(), "CANID"); ui->canTab->addParamRow(mDieBieMS->bmsConfig(), "CANIDStyle"); diff --git a/pages/pagemastergeneral.h b/pages/pagemastergeneral.h index 73d2c11..5ffd15f 100644 --- a/pages/pagemastergeneral.h +++ b/pages/pagemastergeneral.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGEMASTERGENERAL_H #define PAGEMASTERGENERAL_H diff --git a/pages/pagemastersettings.cpp b/pages/pagemastersettings.cpp index 7f49039..11b6b19 100644 --- a/pages/pagemastersettings.cpp +++ b/pages/pagemastersettings.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pagemastersettings.h" #include "ui_pagemastersettings.h" diff --git a/pages/pagemastersettings.h b/pages/pagemastersettings.h index 6a5a87a..8bbd730 100644 --- a/pages/pagemastersettings.h +++ b/pages/pagemastersettings.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGEMASTERSETTINGS_H #define PAGEMASTERSETTINGS_H diff --git a/pages/pagemasterswitch.cpp b/pages/pagemasterswitch.cpp index 8db4721..35dca50 100644 --- a/pages/pagemasterswitch.cpp +++ b/pages/pagemasterswitch.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pagemasterswitch.h" #include "ui_pagemasterswitch.h" diff --git a/pages/pagemasterswitch.h b/pages/pagemasterswitch.h index 561ed16..717459d 100644 --- a/pages/pagemasterswitch.h +++ b/pages/pagemasterswitch.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGEMASTERSWITCH_H #define PAGEMASTERSWITCH_H diff --git a/pages/pagertdata.cpp b/pages/pagertdata.cpp index abf4b98..254bcb0 100644 --- a/pages/pagertdata.cpp +++ b/pages/pagertdata.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagertdata.h" @@ -156,12 +158,20 @@ PageRtData::PageRtData(QWidget *parent) : // Cell bar graph group = new QCPBarsGroup(ui->cellBarGraph); - bars = new QCPBars(ui->cellBarGraph->xAxis, ui->cellBarGraph->yAxis); + barsNormal = new QCPBars(ui->cellBarGraph->xAxis, ui->cellBarGraph->yAxis); + barsBalance = new QCPBars(ui->cellBarGraph->xAxis, ui->cellBarGraph->yAxis); - bars->setBrush(QColor(0, 255, 0, 50)); - bars->setPen(QColor(0, 211, 56)); - bars->setWidth(0.9); - bars->setBarsGroup(group); + barsNormal->setBrush(QColor(0, 255, 0, 50)); + barsNormal->setPen(QColor(0, 211, 56)); + barsNormal->setWidth(0.9); + barsNormal->setBarsGroup(group); + + barsBalance->setBrush(QColor(0, 0, 255, 50)); + barsBalance->setPen(QColor(0, 211, 56)); + barsBalance->setWidth(0.9); + barsBalance->setBarsGroup(group); + + barsBalance->moveAbove(barsNormal); ui->cellBarGraph->xAxis->setRange(0.5, 12); ui->cellBarGraph->yAxis->setRange(2.5, 4.15); @@ -173,9 +183,6 @@ PageRtData::PageRtData(QWidget *parent) : connect(mTimer, SIGNAL(timeout()),this, SLOT(timerSlot())); } -void PageRtData::updateBarGraph(void) { -} - PageRtData::~PageRtData() { delete ui; @@ -287,15 +294,28 @@ void PageRtData::valuesReceived(BMS_VALUES values) void PageRtData::cellsReceived(int cellCount, QVector cellVoltageArray){ QVector dataxNew; dataxNew.clear(); - QVector datayNew; - datayNew.clear(); + QVector datayNormal; + datayNormal.clear(); + QVector datayBalance; + datayBalance.clear(); QVector labels; int indexPointer; + double cellHardUnder = mDieBieMS->bmsConfig()->getParamDouble("cellHardUnderVoltage"); + double cellHardOver = mDieBieMS->bmsConfig()->getParamDouble("cellHardOverVoltage"); + for(indexPointer = 0; indexPointer < cellCount; indexPointer++){ dataxNew.append(indexPointer + 1); - datayNew.append(fabs(cellVoltageArray[indexPointer])); - QString voltageString = QStringLiteral("%1V (C").arg(cellVoltageArray[indexPointer], 0, 'f',3); + + if(cellVoltageArray[indexPointer] < 0.0){ + datayNormal.append(0.0); + datayBalance.append(fabs(cellVoltageArray[indexPointer])); + }else{ + datayNormal.append(fabs(cellVoltageArray[indexPointer])); + datayBalance.append(0.0); + } + + QString voltageString = QStringLiteral("%1V (C").arg(fabs(cellVoltageArray[indexPointer]), 0, 'f',3); labels.append(voltageString + QString::number(indexPointer) + ")"); } @@ -304,7 +324,9 @@ void PageRtData::cellsReceived(int cellCount, QVector cellVoltageArray){ ui->cellBarGraph->xAxis->setTicker(textTicker); ui->cellBarGraph->xAxis->setRange(0.5, indexPointer + 0.5); - bars->setData(dataxNew, datayNew); + ui->cellBarGraph->yAxis->setRange(cellHardUnder, cellHardOver); + barsNormal->setData(dataxNew, datayNormal); + barsBalance->setData(dataxNew, datayBalance); } void PageRtData::appendDoubleAndTrunc(QVector *vec, double num, int maxSize) diff --git a/pages/pagertdata.h b/pages/pagertdata.h index c7ae29f..1dc62da 100644 --- a/pages/pagertdata.h +++ b/pages/pagertdata.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGERTDATA_H #define PAGERTDATA_H @@ -79,11 +81,11 @@ private slots: bool mUpdateValPlot; QCPBarsGroup *group; - QCPBars *bars; + QCPBars *barsNormal; + QCPBars *barsBalance; void appendDoubleAndTrunc(QVector *vec, double num, int maxSize); void updateZoom(); - void updateBarGraph(void); }; diff --git a/pages/pagesettings.cpp b/pages/pagesettings.cpp index a23367f..48e6cbd 100644 --- a/pages/pagesettings.cpp +++ b/pages/pagesettings.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagesettings.h" #include "ui_pagesettings.h" diff --git a/pages/pagesettings.h b/pages/pagesettings.h index 3d35b11..d0048a7 100644 --- a/pages/pagesettings.h +++ b/pages/pagesettings.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGESETTINGS_H #define PAGESETTINGS_H diff --git a/pages/pagesetupcalculators.cpp b/pages/pagesetupcalculators.cpp index 1f1faee..c57ccb8 100644 --- a/pages/pagesetupcalculators.cpp +++ b/pages/pagesetupcalculators.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagesetupcalculators.h" #include "ui_pagesetupcalculators.h" diff --git a/pages/pagesetupcalculators.h b/pages/pagesetupcalculators.h index 8eb1295..ccc3352 100644 --- a/pages/pagesetupcalculators.h +++ b/pages/pagesetupcalculators.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGESETUPCALCULATORS_H #define PAGESETUPCALCULATORS_H diff --git a/pages/pageslavefan.cpp b/pages/pageslavefan.cpp index ba01a2b..ad4021e 100644 --- a/pages/pageslavefan.cpp +++ b/pages/pageslavefan.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pageslavefan.h" #include "ui_pageslavefan.h" diff --git a/pages/pageslavefan.h b/pages/pageslavefan.h index 073705e..7afc96a 100644 --- a/pages/pageslavefan.h +++ b/pages/pageslavefan.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGESLAVEFAN_H #define PAGESLAVEFAN_H diff --git a/pages/pageslavegeneral.cpp b/pages/pageslavegeneral.cpp index 099269c..5866c45 100644 --- a/pages/pageslavegeneral.cpp +++ b/pages/pageslavegeneral.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pageslavegeneral.h" #include "ui_pageslavegeneral.h" diff --git a/pages/pageslavegeneral.h b/pages/pageslavegeneral.h index 3feda47..d6ee232 100644 --- a/pages/pageslavegeneral.h +++ b/pages/pageslavegeneral.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGESLAVEGENERAL_H #define PAGESLAVEGENERAL_H diff --git a/pages/pageslaveio.cpp b/pages/pageslaveio.cpp index 9763ec8..5bfb543 100644 --- a/pages/pageslaveio.cpp +++ b/pages/pageslaveio.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pageslaveio.h" #include "ui_pageslaveio.h" @@ -21,7 +42,23 @@ BMSInterface *PageSlaveIO::bms() const { void PageSlaveIO::setDieBieMS(BMSInterface *dieBieMS) { mDieBieMS = dieBieMS; - if (mDieBieMS) { - ui->slaveIOTab->addRowSeparator(tr("TBD")); + if (mDieBieMS) { + ui->slaveIOTabAUX->addRowSeparator(tr("AUX0")); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0OutputMode"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0TemperatureSource"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0CurrentSource"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0CurrentThreshold"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0TemperatureThreshold"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0TurnOnDelay"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX0TurnOffDelay"); + + ui->slaveIOTabAUX->addRowSeparator(tr("AUX1")); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1OutputMode"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1TemperatureSource"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1CurrentSource"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1CurrentThreshold"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1TemperatureThreshold"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1TurnOnDelay"); + ui->slaveIOTabAUX->addParamRow(mDieBieMS->bmsConfig(), "AUX1TurnOffDelay"); } } diff --git a/pages/pageslaveio.h b/pages/pageslaveio.h index 68a3d8d..7e389fd 100644 --- a/pages/pageslaveio.h +++ b/pages/pageslaveio.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGESLAVEIO_H #define PAGESLAVEIO_H diff --git a/pages/pageslaveio.ui b/pages/pageslaveio.ui index c3200f7..3fde2f3 100644 --- a/pages/pageslaveio.ui +++ b/pages/pageslaveio.ui @@ -15,7 +15,34 @@ - + + + QTabWidget::Triangular + + + 0 + + + + AUX + + + + + + + + + + Opto + + + + + + + + diff --git a/pages/pageslavesettings.cpp b/pages/pageslavesettings.cpp index d6e60e1..02b94f4 100644 --- a/pages/pageslavesettings.cpp +++ b/pages/pageslavesettings.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pageslavesettings.h" #include "ui_pageslavesettings.h" diff --git a/pages/pageslavesettings.h b/pages/pageslavesettings.h index 8782148..529dca0 100644 --- a/pages/pageslavesettings.h +++ b/pages/pageslavesettings.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGESLAVESETTINGS_H #define PAGESLAVESETTINGS_H diff --git a/pages/pageslaveswitch.cpp b/pages/pageslaveswitch.cpp index 97c52c3..82d349d 100644 --- a/pages/pageslaveswitch.cpp +++ b/pages/pageslaveswitch.cpp @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "pageslaveswitch.h" #include "ui_pageslaveswitch.h" diff --git a/pages/pageslaveswitch.h b/pages/pageslaveswitch.h index 538112e..d046c9b 100644 --- a/pages/pageslaveswitch.h +++ b/pages/pageslaveswitch.h @@ -1,3 +1,24 @@ +/* + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl + + This file is part of BMS Tool. + + DieBieMS Tool is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DieBieMS Tool is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef PAGESLAVESWITCH_H #define PAGESLAVESWITCH_H diff --git a/pages/pageterminal.cpp b/pages/pageterminal.cpp index 64702bb..93e7614 100644 --- a/pages/pageterminal.cpp +++ b/pages/pageterminal.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pageterminal.h" #include "ui_pageterminal.h" diff --git a/pages/pageterminal.h b/pages/pageterminal.h index 0d2db6b..3f58a07 100644 --- a/pages/pageterminal.h +++ b/pages/pageterminal.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGETERMINAL_H #define PAGETERMINAL_H diff --git a/pages/pagewelcome.cpp b/pages/pagewelcome.cpp index 1d1f875..d146611 100644 --- a/pages/pagewelcome.cpp +++ b/pages/pagewelcome.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "pagewelcome.h" #include "ui_pagewelcome.h" diff --git a/pages/pagewelcome.h b/pages/pagewelcome.h index 1b56387..85934bd 100644 --- a/pages/pagewelcome.h +++ b/pages/pagewelcome.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PAGEWELCOME_H #define PAGEWELCOME_H diff --git a/parametereditor.cpp b/parametereditor.cpp index 3841e71..122bdef 100644 --- a/parametereditor.cpp +++ b/parametereditor.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "parametereditor.h" #include "ui_parametereditor.h" diff --git a/parametereditor.h b/parametereditor.h index 0bce6dd..1f814b1 100644 --- a/parametereditor.h +++ b/parametereditor.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef PARAMETEREDITOR_H #define PARAMETEREDITOR_H diff --git a/res/firmwares/DieBieMS/DieBieMS_Efoil.bin b/res/firmwares/DieBieMS/DieBieMS_Efoil.bin index 5cc41ea..9138318 100644 Binary files a/res/firmwares/DieBieMS/DieBieMS_Efoil.bin and b/res/firmwares/DieBieMS/DieBieMS_Efoil.bin differ diff --git a/res/firmwares/DieBieMS/DieBieMS_default.bin b/res/firmwares/DieBieMS/DieBieMS_default.bin index 6f2d530..c5d075c 100644 Binary files a/res/firmwares/DieBieMS/DieBieMS_default.bin and b/res/firmwares/DieBieMS/DieBieMS_default.bin differ diff --git a/res/firmwares/DieBieMS/DieBieMS_defaultOld.bin b/res/firmwares/DieBieMS/DieBieMS_defaultOld.bin index 35da0dc..0e228db 100644 Binary files a/res/firmwares/DieBieMS/DieBieMS_defaultOld.bin and b/res/firmwares/DieBieMS/DieBieMS_defaultOld.bin differ diff --git a/res/info.xml b/res/info.xml index 86c14e4..bb34c52 100644 --- a/res/info.xml +++ b/res/info.xml @@ -13,7 +13,7 @@ p, li { white-space: pre-wrap; } 1 3.38 - 0.20 + 0.21 CAN Forwarding diff --git a/res/parameters_bmsconfig.xml b/res/parameters_bmsconfig.xml index 50303a4..96cb6d4 100644 --- a/res/parameters_bmsconfig.xml +++ b/res/parameters_bmsconfig.xml @@ -163,7 +163,7 @@ p, li { white-space: pre-wrap; } 0 0 0.05 - 4.15 + 4.2 100000 V 9 @@ -185,7 +185,7 @@ p, li { white-space: pre-wrap; } 0 0 0.005 - 0.01 + 0.005 100000 V 9 @@ -367,7 +367,7 @@ p, li { white-space: pre-wrap; } -1 0 0.05 - -0.038 + -0.001 100000 9 @@ -388,7 +388,7 @@ p, li { white-space: pre-wrap; } -1024 0 1 - 0 + 4 LSB 4 @@ -966,7 +966,7 @@ p, li { white-space: pre-wrap; } 0 0 1 - 7180 + 4 3 @@ -986,7 +986,7 @@ p, li { white-space: pre-wrap; } 0 0 1 - 1008 + 0 3 @@ -1110,7 +1110,7 @@ p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Use slave BMS relay output.</p></body></html> HC_USE_RELAY - 1 + 0 Use relay precharge output @@ -1122,7 +1122,7 @@ p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Use slave BMS relay precharge output.</p></body></html> HC_USE_PRECHARGE - 0 + 1 Timeout precharge @@ -1424,6 +1424,270 @@ p, li { white-space: pre-wrap; } B 3 + + Mode + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Output enable mode for the AUX output.</p></body></html> + AUX0_OUTPUT_MODE + 0 + Off + On + Temperature + Current + Temperature OR Current + + + Temperature source + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Temperature source of the temperature mode</p></body></html> + AUX0_OUTPUT_TEMP_SOURCE + 1 + BMS temperature + Battery temperature + BMS OR Battery temperature + + + Current source + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Current source of the current mode</p></body></html> + AUX0_OUTPUT_CURRENT_SOURCE + 3 + LC LOAD current + HC LOAD current + Aux current + Pack total current + + + Current threshold + 1 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Current based output current threshold.</p></body></html> + AUX0_OUTPUT_CURRENT_THRESHOLD + 2 + 1 + 0 + 1000 + 0 + 0 + 5 + 10 + 1 + A + 9 + + + Temperature threshold + 1 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Temperature based output temperature threshold.</p></body></html> + AUX0_OUTPUT_TEMPERATURE_THRESHOLD + 2 + 1 + 0 + 200 + -100 + 0 + 5 + 60 + 1 + C + 9 + + + Turn on delay + 2 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Delay before turning on the output, this could prevent accidental turn on.</p></body></html> + AUX0_TURNON_DELAY + 1 + 0 + 86400000 + 0 + 0 + 100 + 250 + ms + 5 + + + Turn off delay + 2 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Delay before turning off the output, this could prevent accidental turn off.</p></body></html> + AUX0_TURNOFF_DELAY + 1 + 0 + 86400000 + 0 + 0 + 100 + 5000 + ms + 5 + + + Mode + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Output enable mode for the AUX output.</p></body></html> + AUX1_OUTPUT_MODE + 0 + Off + On + Temperature + Current + Temperature OR Current + + + Temperature source + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Temperature source of the temperature mode</p></body></html> + AUX1_OUTPUT_TEMP_SOURCE + 1 + BMS temperature + Battery temperature + BMS OR Battery temperature + + + Current source + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Current source of the current mode</p></body></html> + AUX1_OUTPUT_CURRENT_SOURCE + 3 + LC LOAD current + HC LOAD current + Aux current + Pack total current + + + Current threshold + 1 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Current based output current threshold.</p></body></html> + AUX1_OUTPUT_CURRENT_THRESHOLD + 2 + 1 + 0 + 1000 + 0 + 0 + 5 + 10 + 1 + A + 9 + + + Temperature threshold + 1 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Temperature based output temperature threshold.</p></body></html> + AUX1_OUTPUT_TEMPERATURE_THRESHOLD + 2 + 1 + 0 + 200 + -100 + 0 + 5 + 60 + 1 + C + 9 + + + Turn on delay + 2 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Delay before turning on the output, this could prevent accidental turn on.</p></body></html> + AUX1_TURNON_DELAY + 1 + 0 + 86400000 + 0 + 0 + 100 + 250 + ms + 5 + + + Turn off delay + 2 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Delay before turning off the output, this could prevent accidental turn off.</p></body></html> + AUX1_TURNOFF_DELAY + 1 + 0 + 86400000 + 0 + 0 + 100 + 5000 + ms + 5 + noOfCells @@ -1469,6 +1733,7 @@ p, li { white-space: pre-wrap; } stateOfChargeStoreInterval CANID CANIDStyle + emitStatusOverCAN tempEnableMaskBMS tempEnableMaskBattery LCUseDischarge diff --git a/startupwizard.cpp b/startupwizard.cpp index e3c7689..4a27f87 100644 --- a/startupwizard.cpp +++ b/startupwizard.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "startupwizard.h" #include diff --git a/utility.cpp b/utility.cpp index f2514ca..eea25d3 100644 --- a/utility.cpp +++ b/utility.cpp @@ -1,21 +1,23 @@ /* - Copyright 2017 - 2018 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "utility.h" #include diff --git a/utility.h b/utility.h index 40cc2d0..a2728de 100644 --- a/utility.h +++ b/utility.h @@ -1,21 +1,23 @@ /* - Copyright 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef UTILITY_H #define UTILITY_H diff --git a/vbytearray.cpp b/vbytearray.cpp index d7d96e9..d984561 100644 --- a/vbytearray.cpp +++ b/vbytearray.cpp @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #include "vbytearray.h" #include diff --git a/vbytearray.h b/vbytearray.h index 3e07d35..9d4f890 100644 --- a/vbytearray.h +++ b/vbytearray.h @@ -1,21 +1,23 @@ /* - Copyright 2016 - 2017 Benjamin Vedder benjamin@vedder.se + Original copyright 2018 Benjamin Vedder benjamin@vedder.se and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) + Now forked to: + Danny Bokma github@diebie.nl - This file is part of VESC Tool. + This file is part of BMS Tool. - VESC Tool is free software: you can redistribute it and/or modify + DieBieMS Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - VESC Tool is distributed in the hope that it will be useful, + DieBieMS Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - */ +*/ #ifndef VBYTEARRAY_H #define VBYTEARRAY_H