Commit Graph

58 Commits

Author SHA1 Message Date
Theo Arends 9d179c1093 Add ESP32 TasmotaSerial uart mapping
- TasmotaSerial library from v3.4.0 to v3.5.0 (#14981)
- TasmotaSerial implement ``end()``
- ESP32 TasmotaSerial uart mapping to support multiple ``begin()`` and implement ``getUart()`` (#14981)
2022-02-27 13:28:36 +01:00
Theo Arends 71bc58eeae Fix correct use of uart0 2022-01-19 12:22:30 +01:00
Theo Arends b0dafb57a4 Add valid pin checks for ESP32 family 2022-01-19 11:31:16 +01:00
Theo Arends e98498a823 Add uart0 to user selection
Add uart0 to user selection (#10203)
2022-01-19 11:01:55 +01:00
Theo Arends 479b378707 Fix Modbus serial config 2022-01-06 14:06:56 +01:00
Theo Arends 5a73aa1e1f Refactor serial config
Refactor serial config removing specific stopbit count and only support serial config constants (#14212)
2021-12-30 14:19:24 +01:00
Theo Arends 3890237a5f Add ESP32 dedicated DHT driver
- Add ESP32 dedicated DHT driver using standard Adafruit library.
- Extent DHT probe interval time from 2 to 4 seconds solving some misreadings
2021-12-29 14:57:56 +01:00
Theo Arends 41d958020e Fix possible heap corruption due to PubSubClient memmove
Fix possible heap corruption due to invalid PubSubClient memmove parameters (#13700)
2021-12-28 16:05:38 +01:00
Theo Arends aaa87a037a Revert "Merge pull request #14153 from wir3z/development"
This reverts commit d9ab90a2f9, reversing
changes made to 7bf6e5a773.
2021-12-25 11:34:58 +01:00
Theo Arends 4b539f9b94 Revert "Bump TasmotaSerial version to 3.4.0"
This reverts commit f2dfcb3f40.
2021-12-25 11:34:43 +01:00
Theo Arends f2dfcb3f40 Bump TasmotaSerial version to 3.4.0 2021-12-23 10:45:18 +01:00
wir3z 30d35b8c15 Moved kTasmotaSerialConfig to TasmotaSerial.h from Tasmota.h. 2021-12-22 12:23:17 -07:00
wir3z 3c8cda25fb Added linux safe path. 2021-12-22 10:28:55 -07:00
wir3z 223314804d Removed external function call, referenced header. 2021-12-22 10:22:16 -07:00
wir3z 4554a5ba9e Revert "Added back missing external."
This reverts commit b8e9d9401e.
2021-12-22 09:53:06 -07:00
wir3z b8e9d9401e Added back missing external. 2021-12-22 09:50:35 -07:00
wir3z ee39f84bc2 Rolled out parity changes due to potential timing issues. 2021-12-22 09:47:20 -07:00
wir3z b8752b7272 TasmotaSerial:
- Added transmit parity to software TX.  Software RX just consumes in the incoming parity bit with no error checking.
- Fixed issue where Serial.begin for the ESP8266 was not passing the UART SerialConfig compatible values.

support.ino
- Cleanup to use already present ConvertSerialConfig API.

tasmota.ino:
- Force the baudrate + serial config settings after boot.  Previously, the baudrate would change, but any non 8N1 settings were not applied.

xdrv_08_serial_bridge.ino:
- Increased the software serial bridge buffer size and changed type to prevent overflow.
- Added missing serial config settings to the serial begin.  Previously was forcing 8N1.

xdrv_10_scripter.ino
- Cleanup to use already present ConvertSerialConfig API.
2021-12-22 09:23:15 -07:00
Stephan Hadinger 0589a28ec8 Change more platform definitions 2021-12-20 21:05:00 +01:00
Theo Arends dbd7d29765 Fix CSE7761 comms
Fix CSE7761 and Sonoff Dual R3 comms
2021-11-12 14:39:14 +01:00
Stephan Hadinger a36331fe47 Improved for zigbee 2021-11-11 19:22:15 +01:00
Stephan Hadinger 9084e36978 Make serial more responsive at low bitrate 2021-11-11 14:44:54 +01:00
Stephan Hadinger 9fcebb17ed Move LList to its own library 2021-11-06 09:37:40 +01:00
Stephan Hadinger e45f25f59a Berry support for unishox compression 2021-11-04 08:17:42 +01:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Stephan Hadinger 6951c5aee5 Extend ext_vsnprintf to auto-malloc buffer 2021-06-03 22:11:14 +02:00
Theo Arends fb44348a8c Add support for MQTT Settings save/restore 2021-05-08 17:40:13 +02:00
Stephan Hadinger 4b55d5be52 Fix crash on Risc-V ESP32 C3 2021-04-19 12:14:26 +02:00
Jason2866 8e7e3512c1
add C3 variant 2021-04-17 19:52:14 +02:00
Jason2866 bbb0e7464b
fix if for riscv 2021-04-17 19:51:14 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends b00b2708cb Fix HC-SR04 on ESP32
Fix HC-SR04 on ESP32 (#11507)
2021-03-30 17:58:29 +02:00
Stephan Hadinger 763ed74c5e Berry fixes 2021-03-29 19:44:22 +02:00
Theo Arends d5ca2994ee Add commands MqttKeepAlive and MqttTimeout
- Add commands ``MqttKeepAlive 1..100`` to set Mqtt Keep Alive timer (default 30) and ``MqttTimeout 1..100`` to set Mqtt Socket Timeout (default 4) (#5341)
- Changed PubSubClient library from EspEasy v2.7.12 to Tasmota v2.8.12
- Bump version to 9.3.1.2
2021-03-18 17:44:10 +01:00
Theo Arends 919058ebfd Add TasmotaSerial valid pin chk 2021-03-05 14:36:39 +01:00
Stephan Hadinger 38e83113bb Add crash protection 2021-03-02 21:43:16 +01:00
Stephan Hadinger 4bfd22f946 Zigbee allow numbers as string 2021-03-02 21:18:08 +01:00
Theo Arends 2057912276 Change TasmotaSerial library from v3.2.0 to v3.3.0
Change TasmotaSerial library from v3.2.0 to v3.3.0
2021-03-02 11:44:06 +01:00
Theo Arends 35427d9b36 Fix PN532 on ESP32 Serial flush both Tx and Rx buffers (#10910)
Fix PN532 on ESP32 Serial flush both Tx and Rx buffers (#10910)
2021-02-27 16:58:50 +01:00
Jason2866 ce064906fd add lib info files 2021-02-12 09:43:23 +01:00
Stephan Hadinger e990f9002b Prepare RISCV 2021-02-09 20:41:53 +01:00
Theo Arends ef10b5ad16 Add read buffer function to TasmotaSerial 2021-02-06 18:09:45 +01:00
Theo Arends 5caaf60c68 Prep ESP32S2 2021-02-03 14:12:43 +01:00
Stephan Hadinger a67528680e Zigbee refactor sending ZCL packets 2021-02-02 20:46:18 +01:00
Theo Arends a9cbfbe6f7 Fix IrRemote_Full JSON leading zeroes (#10680) 2021-02-01 17:46:28 +01:00
Stephan Hadinger 1398fae327 Fixed crash 2021-01-25 16:49:19 +01:00
Stephan Hadinger 48c4b64879 Fix and improvement to ext_snprintf 2021-01-25 16:02:56 +01:00
Stephan Hadinger cf52f1c99e Added ext_snprintf to support extended types 2021-01-24 16:35:36 +01:00
Jason2866 70d0fc96e7
Update library.json 2021-01-23 11:35:52 +01:00
Theo Arends 15b41881d8 Changed PubSubClient MQTT_SOCKET_TIMEOUT
Changed PubSubClient MQTT_SOCKET_TIMEOUT from 15 to 4 seconds
2021-01-20 17:34:47 +01:00