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

Dev #342

Merged
merged 117 commits into from
Sep 23, 2024
Merged

Dev #342

merged 117 commits into from
Sep 23, 2024

Conversation

biologist79
Copy link
Owner

No description provided.

tueddy and others added 30 commits January 21, 2024 21:54
Updated comment on LPCD setting. ISO-15693 should be possible now according to https://github.com/biologist79/ESPuino/blob/dev/changelog.md
Updated comment on LPCD setting. ISO-15693 should be possible now according to https://github.com/biologist79/ESPuino/blob/dev/changelog.md
ENABLE_ESPUINO_DEBUG is obsolete now
Keep original mtime for gzip compressed files, avoiding uneccesary Web.o rebuilds
Allocate the double buffered memory for file upload dynamically. Use the same memory block for the whole progress.
If we fail the allocation we retry 2 times, always reducing the cunk size by half. If we either reach the retry count or the buffer falls below 256 bytes, then we just give up.

Also modify the size of the buffer according to the avaliable RAM as proposed by tueddy

See 736b92e
fix some warnings compiled with -Wdouble-promotion (float to double conversion)
improve progress calculation/indication
* Make access point IP addresses constant

* Remove hostname from RAM

Load hostname on request from NVS and only use it on the stack.
Minor fixes in the FSM handler functions

* Use std::list instead of POD for network settings

By using a linked list we do not need to allocate a single consistent memory block to save the wifi settings.

* Rework WiFiSettings

Fully rework the WiFiSettings struct to a C++ class.
Add function to validate an entry and serialize & deserialize the data directly to the nvs.

Integrate the new class into the Wlan.cpp and Web.cpp.

Add comments to new functions

* Add NVS iterators and remove knownNetworks

To reduce memory use the NVS entry directly.

* Increase the max available networks to 256

Remove synthetic constrain of 10 Network entries since we do not load them into the memory any more.

* Fix frontend static IP configuration options

Add ArduinoJson converters for IPAddress class.

* Add logging of WiFi settings at boot

* Suppress gcc warnings about unused functions

Mark optional support functions with [[maybe_unused]] to supress warnings.
This fixes second part of #272
* fix crash when playing invalid file
* avoid unnecessary string copying
tueddy and others added 27 commits May 13, 2024 15:29
"implicit declaration of function 'getline'; did you mean 'getenv'? [-Wimplicit-function-declaration]"
- The fork removes natsort.c, it's for CLI only
* New web server & optimized JSON delivery
https://forum.espuino.de/t/optimierung-fuer-den-webserver/3018

* use optimized JSON delivery for ws.text(client) also
send HTTP errorcode 500 if JSON buffer overflowed

* discard websocket message on queue full (Same behaviour as current webserver)

* ws.text(): use std::move(buffer) to avoid copying data around

* use AsyncWebSocketMessageBuffer for a more high-level approach

* clang

* error handling of memory allocation

* clang

* cppcheck: Local variable 'buffer' shadows outer variable [shadowVariable]
update webserver to v2.10.5
…tem (#331)

* Replace 3rd party library toastr by built in bootstrap v5 toaster system

* + Swallow duplicate messages
+ use a closure for making variables private
+ use setTimeout instead of setInterval 🐛

* Restoring accidental commit for language json

* Close on click

---------

Co-authored-by: fabian <fabianjordan@posteo.at>
- remove #define ASYNCWEBSERVER_FORK_mathieucarbou
update changelog & revision
4.4.1 is deprecated for Arduino 2 and throws a lot of warnings
* restructured tools page.
Updated texts
added export button
@biologist79
Copy link
Owner Author

@tueddy Ich habe mal einen Merge-PR angelegt, damit der aktuelle dev mal wieder in den master kommt.
Einwände?

@tueddy
Copy link
Collaborator

tueddy commented Sep 23, 2024

Es läuft ja scheinbar soweit Alle gut, keine Einwände!
Nur Github nervt mit dem Build-Fehler..

@biologist79 biologist79 merged commit e4e9fcf into master Sep 23, 2024
0 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants