Comments (5)
Ok, I think I found closing/opening the handle before assigning the reference solves the problem. At least I can now switch seamlessly and without rebooting between the two storage devices.
from bsb-lan.
As for renaming the terms, makes sense, feel free to go ahead.
The system does not do sanity checks and/or switch to flash memory option if there is no SD card attached. In any case, if SD card is selected, it should not access the flash memory. If it does, it is an error, but I don't have time to investigate this one as I'm working on more serious errors right now...
from bsb-lan.
I've had a look at it, and it seems that the switch between the storage devices might require a reboot. Or rather, that one switch in one direction works, but not a subsequent one. Which is strange because the SDCard object is just switched between SD_MMC and LittleFS in startLoggingDevice()
. @dukess, do you maybe have an idea why this switch does not work?
If we can't solve this, then I can just flag this setting to require a reboot, but if it's generally possible to switch without a reboot, I'd like to keep that.
from bsb-lan.
Frederik, sorry for late answer: i have lot of work, so have time on weekend only :(
But i glad to see you resolving the issue :)
from bsb-lan.
@dukess: No worries, thanks for getting back :)!
from bsb-lan.
Related Issues (20)
- [BUG] Constat reconnection to mqtt broker HOT 3
- [FEATURE REQUEST] Send BSB-LAN version to MQTT HOT 2
- [BUG] PPS Errors with BSB-LAN Versions > 2.0.16 HOT 117
- [FEATURE REQUEST] No wifi if started after wifi access point HOT 1
- [FEATURE REQUEST] Set date and time HOT 1
- [BUG] Set date and time reset after a while HOT 60
- [BUG] MQTT connection fails HOT 27
- [FEATURE REQUEST] Add support for WT32-ETH1 board HOT 4
- [BUG] Device hangs for some seconds on socket error with MQTT HOT 2
- [BUG] Heater function list disappeared in version 3.4.3 HOT 9
- [BUG] Set button is not working on parameter that require /I in the we interface HOT 4
- [BUG] BSB-LAN does not compile HOT 1
- [BUG]?: calculation of free space in filesystem HOT 1
- [BUG] v3.4.7 crashes ESP32/Wifi/BSB when submitting room temperature HOT 4
- Migrating BSB-LAN to ESP32 framework 3.0.0 HOT 8
- [BUG] Sketch too big HOT 1
- [BUG] Don't forget to adjust links to moved documentation ;) HOT 4
- [QUESTION] LMU34 HOT 7
- [BUG] Zusätzliches Leerzeichen im MQTT-Topic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsb-lan.