198 Commits

Author SHA1 Message Date
Luc
93312ff8b5
Idf 5.1.4/Arduino 3.0.4 porting for esp32 (#1046)
* Update WebSocket library
* Update SSDP library
* Update TFT_eSPI library
* Update EspLuaEngine library
* Update SDFat library
* Change to pioarduino
* Make ESP3DMessageFIFO and ESP3DMessage  more thread safe
* Fix sanity checks for BT
* Add some C6 support
* Refactor ethernet code
* Split Ethernet Sta / WiFi sta ESP Commands  and settings
* Simplify wait and wdtFeed code
* Set C3 with 4MB by default in platformio.ini
* Apply Disable brown out only on ESP32 to avoid crash e.g:ESP32S3
* Add missing entries in platformio.ini
2024-09-05 16:27:47 +08:00
Luc
8deab1f06c Remove problematic log 2024-08-25 19:46:02 +08:00
Luc
51bb94a5a3
Lua engine replacement (#1042)
Use EspLuaEngine 1.0.1
2024-08-24 12:23:41 +08:00
Luc
412aee442c Fix Telnet welcome message refering to ESP3D-TFT
Add support of  #define DISABLE_TELNET_WELCOME_MESSAGE to disable welcome message
2024-07-09 07:46:11 +08:00
Luc
0bf8188570 Add esp arduino core version to ESP420 repport
Bump version
2024-06-18 08:15:48 +08:00
Luc
e2afd80a3b Fix missing check in ESP220 2024-05-30 07:14:49 +08:00
Luc
ea1eb83a28 Add Script to parse all c/cpp/h/ino files and format them using clang-format with Google style
Update style to some files with clang-format using Google style
Add Script to parse all embedded  js/css files and format them using prettier based on .prettierrc config file
Update style to embedded js/css files with prettier
2024-05-29 15:10:47 +08:00
Luc
0614ae21a3 Update ESP420.cpp 2024-03-31 14:04:10 +08:00
Luc
806bc65b81 Fix regression issue : serial bridge was not working since new internal messaging API 2024-03-31 12:58:20 +08:00
Luc
fc8c387274 Fix SD Support broken on esp8266
Bump version
2024-03-25 19:32:11 +08:00
Luc
06a7ac3afd
C3 patch to lower tx power if board do not start (#1011)
* Patch for ESP32-C3 - WIP

* remove unecessary code
2024-03-20 15:18:33 +08:00
Levak
6b9f57bde0
Add UICPAL ESP32S3 Camera pins (#1004) 2024-03-03 07:06:38 +08:00
Luc
b1d5192802 Update esp3d_hal.cpp 2024-02-15 14:55:26 +08:00
Luc
3f5daa5381 Fix WebDav not using Global FS but Flash cannot compile 2024-02-15 12:36:55 +08:00
Luc
b56148c895 Add camera CAMERA_MODEL_XIAO_ESP32S3 14 2024-02-11 13:27:59 +08:00
Luc
97508d9617 Fix typo in ESP700 thanks @levak for pointing this out
Fix API change in SDIO for 1bit set pin and 4 pins set pins
2024-02-11 08:58:42 +08:00
Luc
126a0ee1b3 Add missing ; thanks @levak for pointing this out 2024-02-11 08:28:02 +08:00
Luc
bb9c670061 Fix typo in [ESP780] for filesystem usage always reporting / instead of target one 2024-02-11 08:21:32 +08:00
Luc
2c1661007d
ESP214/ESP212 and hooks (#999)
* Add expandString to ESP214

* Implement ESP212 for sending text to printer screen (M117)

* Implement hooks for got IP and got DateTime

* Allow finish processing  current stream before adding new one instead of reject

* Add parmeter to expandString to escape space

* Update notifications_service.cpp

* Add sanity check for hooks and autoscript
2024-02-08 17:32:24 +08:00
Marcel Hoyer
ec7c422f7f
fix NotificationsService::sendMSG() when DISPLAY_DEVICE enabled. Missing .c_str() (#998) 2024-02-07 08:26:21 +08:00
Luc
3474edcd03 Add a function to expand string with ESP variable
Implement expandString function in Notifications Message as POC
2024-02-05 21:01:22 +08:00
Luc
cc7c2cfc73 Add some sanity check to avoid buffer overflow 2024-02-05 15:13:49 +08:00
Luc
d8f84b94d9 Fix issue raised by @rondlh 2024-02-05 14:09:13 +08:00
Luc
47b206a0b8 Remove unused old code thanks @rondlh
Add 1000000 and 2000000
2024-02-05 10:10:41 +08:00
Luc
e471be57a6 Fix #995
Add esp8285 env
2024-02-02 10:08:59 +08:00
Luc
4a20cc01f4 Update ESP999.cpp
Fix typo
2024-01-25 14:53:30 +08:00
E2D
ad7706f334
Update bmx280.cpp (#993)
fix bmx280 sensor bug.

Signed-off-by: E2D <engineer2designer@gmail.com>
2024-01-24 11:51:07 +08:00
E2D
b6a720f96a
Update esp3d_commands.cpp (#992)
fix [ESP250] command,if no DISPLAY_DEVICE.

Signed-off-by: E2D <engineer2designer@gmail.com>
2024-01-23 12:30:46 +08:00
Luc
13cdc37a1e Merge branch '3.0' of https://github.com/luc-github/ESP3D into 3.0 2024-01-19 15:48:31 +08:00
Luc
dfe6004b68 Update configuration.h 2024-01-19 15:48:28 +08:00
Luc
219cde891b Update serial_service.cpp 2024-01-16 13:43:14 +08:00
Luc
1466fa770d Fix typo 2024-01-09 22:43:15 +08:00
Luc
e5f38a997f Merge branch '3.0' of https://github.com/luc-github/ESP3D into 3.0 2024-01-04 17:03:02 +08:00
Luc
0fc374bb16 Fix missing defined 2024-01-04 17:02:52 +08:00
E2D
4a23898289
Update ESP170.cpp (#989)
Fix minor issues

Signed-off-by: E2D <engineer2designer@gmail.com>
2024-01-04 17:01:42 +08:00
Luc
0057961497 Fix compilation issue due to refactoring typo error thanks @Engineer2Designer for raising it
Close #988
2024-01-04 15:09:50 +08:00
Luc
a10a7f74bf
Refactoring internal clients (#987)
* Remove all output flags
* Masse replace name function / class to sync with ESP3D-TFT
* Create ESP3DMessageManager  class to handle messages creation / deletion (import functions of ESp3DClient from ESp3D-TFT)
*  Move to new messaging API of ESP3D-TFT
* Remove empty line from remote screen dispatching
* Replace \n to space and \r to nothing in remote screen dispatching
* Add missing default entry for sensor device
* Fix buzzer for ESP32 missing ledc initialization with latest core
* Move formatBytes to esp3d_string
* Add welcome message to telnet connection\
* Add display to the new messaging API
* Add sticky authentication on Serial / SerialBridge /Telnet/Data web socket and BT
* Log simplification
* Use enum class instead of typdef enum for ESP3DAuthenticationLevel  to be sure correct enum is used
* (v3) Home Assistant notification support (#971)
* Add notification via post request
* Extend t1 size to 255 bytes
* Hide Home Assistant notifications from web UI (#974)
* Sync with ESP3DLib on serial_socket
* Add some sanity check to avoid unnecessary message copies
* Update ESP0.cpp

---------

Co-authored-by: David Buezas <dbuezas@users.noreply.github.com>
2024-01-03 10:46:13 +08:00
Luc
dabc95bc8c Fix glitch in {ESP200] 2023-11-22 10:53:34 +08:00
Luc
5fc3d4ae6e
Fix #965 thanks @DivingDuck for raising it
Signed-off-by: Luc <8822552+luc-github@users.noreply.github.com>
2023-11-15 17:51:59 +08:00
Luc
f562e55a6d Fix bug introduced by latest PR if doing reset on clean EEPROM => going to dead loop because of upside down test
Fix wrong parsing of settings during  reset
Fix typo that generate wrong IP for AP
2023-11-13 19:44:23 +08:00
Luc
cda276e2e6
Settings validation refactoring (#964)
* Rewrite the setting API to use same API as ESP3D-TFT or at least close enough to be improved - WIP

* Add isValidXXX setting API

* Factorize dispatch_setting for ESP400

* ESP400 refactoring
2023-11-09 10:29:13 +08:00
Luc
265e0e60a2 Fix #963 thank you @DivingDuck for raising it
Add missing header file for adding ESP3D User Agent in request
2023-11-09 09:46:50 +08:00
Luc
963147a541
Web dav rewrite/Time refactoring (#960)
* Time refactoring 
* Webdav rewrite 
Base on work done on ESP3D-TFT
2023-11-05 21:27:28 +08:00
Luc
3ffb7c3b4c
Fix FTP not listing on some shared SD (#958)
* Fix Rename not working on GlobalFS

* esp3d_log refactoring
 - Rename Debug to Log
 - Allow now 4 level of log: None, Error, Debug, Verbose
 - Change original verbose log to error log when it is an error

* Update configuration.h to add debug level expected

* Add log for critical steps in FTP module
2023-10-27 12:40:22 +08:00
Luc
dc84b0bbdb Add code base for better support for FYSETC WIFI SD PRO - WIP 2023-10-18 21:18:32 +08:00
Luc
73ccc7932d Add some sanity checks 2023-10-16 19:01:51 +08:00
Luc
a8dec39b31 Apply CLang style 2023-10-16 17:04:16 +08:00
Luc
3bc8c874ae Apply CLANG style 2023-10-16 16:36:30 +08:00
Luc
606cc3f0ff Update libraries for nodejs
Adjust webpack.prod.js with new versions's parameters
2023-10-04 15:17:14 +08:00
Luc
ff5e04627c 3.0 code base 2023-10-02 19:55:18 +08:00