Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web page from internal web server won't load if BLE is enabled (or initialized) #16

Closed
melkati opened this issue Oct 30, 2021 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@melkati
Copy link
Owner

melkati commented Oct 30, 2021

CO2 Gadget displays a very basic (for now) web page with the latest CO2 readings at "https://your-co2-gadget-ip-address"

If works fine if BLE is not active but if BLE is active you get a "connection rejected" error.

If activeBLE = false or initBLE() is commented out this doesn't happens.

@melkati melkati added the bug Something isn't working label Oct 30, 2021
@melkati melkati changed the title Web page from internal web server doesn't loads if BLE is enabled (or initialized) Web page from internal web server won't load if BLE is enabled (or initialized) Oct 30, 2021
@melkati melkati added the help wanted Extra attention is needed label Nov 6, 2021
@melkati
Copy link
Owner Author

melkati commented Nov 6, 2021

I suspect issue has something to do with the order in witch libraries are loaded

@melkati
Copy link
Owner Author

melkati commented Dec 3, 2021

Looks like the real problem is with memory use.
There are some changes ongoing to help reduce memory usage as #30

@melkati
Copy link
Owner Author

melkati commented Dec 8, 2021

Some improvements already with things like:

Utilizing smaller custom fonts
Moving web files to SPIFFS #34
Custom version of arduino-ble-gadget library with smaller buffer for data logger.

Now CO2 Gadget is working fine with BLE, WiFi and MQTT simultaneously

@melkati melkati closed this as completed Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Development

No branches or pull requests

1 participant