Frontend stuff

This commit is contained in:
Martin Bauer 2020-05-16 12:36:05 +02:00
parent f20ab7ac9a
commit e057d97a70
7 changed files with 7 additions and 53 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.pio
CMakeListsPrivate.txt
/cmake-build*
/venv

2
.idea/.gitignore vendored
View File

@ -1,2 +0,0 @@
# Default ignored files
/workspace.xml

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="CidrRootsConfiguration">
<sourceRoots>
<file path="$PROJECT_DIR$/src" />
</sourceRoots>
<libraryRoots>
<file path="$PROJECT_DIR$/lib" />
<file path="$PROJECT_DIR$/.pio/libdeps" />
</libraryRoots>
<excludeRoots>
<file path="$PROJECT_DIR$/.pio" />
</excludeRoots>
</component>
</project>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/clion.iml" filepath="$PROJECT_DIR$/.idea/clion.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/platformio.iml" filepath="$PROJECT_DIR$/.idea/platformio.iml" />
</modules>
</component>
</project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@ -1,20 +1,7 @@
-> setup platform.io based development with tests
- re-write tests with unity
Backend:
- webdav
-> delete stuff
- SPIFFS remove if full, before rotate (i.e. delete oldest)
- auto-off, auto-on feature for session management
- backend
/api/session/start
/api/session/finish
/api/session/data?startIndex=25 (returns nothing if no session is active)
// by default only the in-memory data is reported back
/api/sessionhistory/ -> list in webdav fashion
/api/sessionhistory/sessionid?startIndex -> returns full session data
// delete file with method
// auto start session? ringbuffer with last n measurements
// detect spikes -> more than s spikes -> start session
// auto stop session if one full chunk is empty