Commit Graph

22 Commits

Author SHA1 Message Date
Theo Arends
fb6640b91f Fix ESP32 receive incomplete serial data over 128 bytes (#23156) 2025-03-18 15:12:30 +01:00
mrkev-gh
b472e821cf
Use 75% of the buffer for speeds higher than 115200 (#22774)
Higher speeds need larger buffer. Processing takes longer, so let's put the threshold at
75% of the buffer size to have some headroom. E.g. for 1Mbit with 2.5KB buffer 2048 characters
would be roughly still around 20ms, and reserve additional 512 chars / 5ms to handle the
buffer after the threshold is reached

Co-authored-by: mrkev-gh <mrkev-gh@users.noreply.github.com>
2025-01-06 11:34:06 +01:00
s-hadinger
314fcd0dbc
Berry Serial config to change parity on-the-fly for RS-485 (#22285) 2024-10-13 22:15:47 +02:00
s-hadinger
f62496d164
Crash when calling TasmotaSerial destructor when initialized with incorrect arguments (#22036) 2024-08-28 13:04:56 +02:00
Theo Arends
04a6d5513b Prep serial IDF 5.2 support 2024-07-04 16:04:59 +02:00
Jason2866
b1422ff6b5
make Tasmota compatible for Arduino espressif32 based on IDF 5.2.2 (#21723)
Co-authored-by: Christian Baars <Baars@gmx.de>
2024-07-03 20:27:18 +02:00
Theo Arends
fd02f5aefc Fix GPIO16 as Transmit enable pin (#21269) 2024-06-02 17:15:11 +02:00
s-hadinger
91dd120aa9
TCP Tx En GPIO type (#21269) 2024-04-24 19:53:01 +02:00
Theo Arends
2a9f9634c9 Update changelogs 2024-01-24 15:05:37 +01:00
Jason2866
808e598b6d
Arduino Core 3.0.0 Platform 2024.01.12 (#20576)
* Core 3.0.0 latest support

* compability with latest Arduino Core 3.0.0

* Platform 2024.01.12
2024-01-24 14:47:55 +01:00
Theo Arends
f065d74293 Add support for HardwareSerial invert (#15461) 2024-01-12 13:57:31 +01:00
s-hadinger
0b3d6fd146
Prepare for Arduino v3 / esp-idf v5 2nd batch (#19265) 2023-08-05 20:34:24 +02:00
gemu
687b26ad13
Scripter update (#18578)
* add ds2480b library

* add onewire support

* reset on error

* call to get esp32 HWS

* DS2480 serial invert option
2023-05-05 09:17:17 +02:00
Theo Arends
61b8e95543 Fix ESP32 change baudrate (#17869) 2023-03-26 16:37:29 +02:00
Theo Arends
1a6076c253 Add flush before disabling tx (#17247) 2023-03-14 09:28:00 +01:00
Theo Arends
ea6a5a2d4e Removed delays in TasmotaSerial and TasmotaModbus Tx enable switching 2023-01-02 15:08:40 +01:00
Theo Arends
ed0b7d69b6 Tune Tx Enable timing 2023-01-01 15:12:15 +01:00
Theo Arends
c1484f761c Fix exception 9 when modbus tx enable is used 2022-12-28 15:19:09 +01:00
Theo Arends
2fd63ff01f Fix Modbus transmit enable GPIO
Fix Modbus transmit enable GPIO enabled once during write buffer
2022-12-28 14:07:30 +01:00
Theo Arends
b78886b0f1 Add TasmotaModbus hardware fallback to GPIO13/15 2022-12-11 16:44:36 +01:00
Theo Arends
bb88034669 Fix LD2410 Hardware Watchdogs 2022-12-04 10:50:58 +01:00
Theo Arends
bbde894628 Add serial Modbus transmit enable GPIOs
Add serial Modbus transmit enable GPIOs to all modbus energy drivers and modbus bridge (#17247)
2022-12-03 12:33:42 +01:00