22 Commits

Author SHA1 Message Date
Luc
8293833e0b Bump version for beta 1 2024-12-18 11:40:33 +08:00
Luc
00ed69275b Update configuration.h 2024-12-10 19:53:48 +08:00
Luc
3bb05c9881 Update ESP32SSDP library to access started state and ethernet fix
Add SSDP ad mDNS to ESP420 report|
Add waiting loop to get the ethernet IP in DHCP in STA mode to be sure network services start with proper IP
Change debug log to verbose log

Bump version
2024-12-10 19:14:46 +08:00
Luc
fe23f0cb1e
Grbl grblHAL better support for realtime commands (#1064)
* Add a realtime command detector 
* Move `\r` as printable char and not replaced as `\n`
* Refactorize Serial service code to avoid redondant code between esp32 and esp8266
* Implement isrealtimeCommand check for serial and centralize function in string helper
* Add new type message : realtimecmd
* Update simulator to handle commands and realtime commands
* Add simple serial test tool
*  Generate error if use HAS_DISPLAY with grbl/grblHAL
* Implement isRealTimeCommand for BT client
* Simplify BT push2buffer code
* Implement support for realtimecommand in telnet
* Implement isRealTimeCommand on websocket RX
* Simplify push2RXbuffer for websocket
* Implement isRealTimeCommand for USB serial
* Bump version
2024-12-08 17:26:19 +08:00
Luc
d2c52ac719 Close #955
Add more default settings for SPI W5500 Ethernet
Bump version for tracking
2024-11-25 10:06:15 +08:00
Luc
b6a7add333 Remove wrong sanity check
Fix confusing comment
2024-11-03 17:56:37 +01:00
Luc
b40937122a
Add Usb Serial otg feature (#1055)
* Update esp3d_version.h
* Fix GCode client is not processed
* Update lua engine to 1.0.3
* Fix HOOKS and Init script conflicting at boot
* Add a queue for multiple scripts (max 5)
* Fix compilation failed on SERIAL_MKS on ESP32
* Explain better sanity check on SERIAL_MKS and DISPLAY
* Implement USB Serial OTG
2024-10-19 18:13:45 +08:00
Luc
ae2dec2186
Serial refactoring and idf 4.4.7 for ESP32 (#1048)
* Split esp32 code from esp8266 for Serial

* split receive serial message and processing serial message in esp32 in different task

* Make the esp32 code backward compatible with Arduino esp32 2.0.17 / IDF 4.4.7
2024-09-11 20:57:56 +08:00
Luc
78af070bb7 Update WebSocket library 2024-09-07 09:21:36 +08:00
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
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
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
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
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
Luc
47b206a0b8 Remove unused old code thanks @rondlh
Add 1000000 and 2000000
2024-02-05 10:10:41 +08:00
Luc
dfe6004b68 Update configuration.h 2024-01-19 15:48:28 +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
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
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
ff5e04627c 3.0 code base 2023-10-02 19:55:18 +08:00