Commit Graph
678 Commits
Author SHA1 Message Date
Chris Sutcliff cdf6375c71 fix(mqtt): 8 KB MQTT task stack when TLS verifies a CA certificate
On boards with PSRAM the MQTT client runs in its own task with a 5120
byte stack. Verifying an EC certificate chain against a CA, such as
Let's Encrypt ISRG Root X2, needs about 6 KB, so the task overflowed
and the board boot looped on every connect.

The espMqttClient constructors now take the stack size, and
startClient() passes EMSESP_MQTT_STACKSIZE_CA (8192) when TLS is on
with a CA, keeping the 5120 default for insecure TLS and plain MQTT.
The client is recreated when that changes. The stack usage log
reports against the size the task was created with.
2026-10-20 12:40:59 +01:00
proddy 965d93661a crashmode 2026-10-07 23:00:14 +02:00
proddyandCursor 6411b6ffbd add recovery firmware with OTA updater and recovery web interface
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 22:57:25 +02:00
proddy 3ea25eba43 EMSESP_TX_PRE_DELAY 2026-10-04 09:56:34 +02:00
proddy e4f9d4a96d #3257 summermode back and a test for #3094 2026-10-01 17:52:52 +02:00
proddy aa8481c42e migrate espMqttClient upsteam patches 2026-07-26 17:39:58 +02:00
proddy 46c5560222 add TLS support for all boards 2026-05-25 12:32:53 +02:00
proddy 751c540cb3 refactor network code 2026-05-01 08:07:05 +02:00
proddy 86a20fc97a sync with dev-16 2026-04-18 18:54:33 +02:00
proddy 6b31fef1af build on mac osx 2026-04-15 20:37:27 +02:00
MichaelDvP d2a13ec0da core3 adaptions for c3 and c6, compiles for all chips 2026-03-21 16:23:07 +01:00
MichaelDvP 0fe45a2405 use ESP_SSLClient for mqtt, add sendmail command (using readymail) 2026-03-17 18:53:37 +01:00
proddy f317123c26 fix standalone 2026-02-15 15:27:11 +01:00
proddy 7a41a190f8 support s3 2026-02-15 14:15:13 +01:00
proddy 6741232450 WIP: ESP-IDF Core 3 migration - mbedtls SSL, module library, board configs, MQTT and network updates 2026-02-15 13:53:13 +01:00
proddy f4d2bae04f add psram 2026-01-22 16:38:52 +01:00
MichaelDvP d9551bc4c3 Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev 2026-01-07 08:38:01 +01:00
MichaelDvP 13aa544214 mqtt queue: prefere PSram 2026-01-06 18:50:50 +01:00
proddy da76fe3871 asyncTCP change 2026-01-04 21:51:57 +01:00
proddy 4ae4000944 asyncTCP fix 2026-01-03 22:48:17 +01:00
proddy 41bf293db3 AsyncTCP change 2026-01-03 13:58:25 +01:00
proddy a9511e6a29 implements #2848 2025-12-24 16:59:18 +01:00
MichaelDvP 515b75160c stub to remove #ifndef EMSESP_STANDALONE 2025-12-08 12:42:11 +01:00
MichaelDvP 1d03056784 move some vectors to psram, fix syslog start/stop 2025-12-04 19:57:01 +01:00
proddy 3113a4be2b remove old todos 2025-11-24 23:25:43 +01:00
proddy df9a10cb53 remove esmesp:: 2025-11-22 22:33:31 +01:00
proddy 5613cde00f update defaults 2025-11-08 12:27:08 +01:00
MichaelDvP f2dca2a90a dev24, fix syslog timestamp #2704 2025-11-02 17:45:14 +01:00
MichaelDvP 7b0169bb68 update to eModbus 1.7.4 2025-08-04 10:16:50 +02:00
MichaelDvP f10f3d5305 esp32: some pins have no internal pullup 2025-08-04 10:15:59 +02:00
MichaelDvP ed9e2704b0 syslog, changing level is not a fail 2025-08-04 10:15:15 +02:00
MichaelDvP 6c42cbfb4b make task cores configurable in platformio.ini 2025-06-28 13:00:53 +02:00
MichaelDvP e3566feefb show console log with ISO date/time, #2533 2025-04-25 08:05:15 +02:00
proddy e121fdb47f fix shell standalone 2025-03-03 15:12:28 +01:00
proddy eb87651c47 merge #2108 2025-01-04 13:41:39 +01:00
proddy adbd2381e1 ignore dependencies 2024-12-31 12:16:16 +01:00
MichaelDvP 5f42709eab update asyncTCP to threadsafe 3.2.14, ems-esp v3.7.2-dev.4 2024-12-05 12:57:19 +01:00
MichaelDvP a970009d20 update eModbus to 1.7.2, #2254 2024-12-04 18:26:45 +01:00
proddy 2751aca37a remove setWill() to inline 2024-11-25 09:31:21 +01:00
proddy acebc03d69 fix Last Will (LWT) not set on MQTT Connect #2247 2024-11-25 00:56:15 +01:00
proddy a82b32ce97 wifi reconnects renaming 2024-11-16 14:48:01 +01:00
proddy b924d07447 upgrade to 7.2.1 2024-11-16 14:44:41 +01:00
proddy 1db093e6f4 add back missing funciton for 2207 2024-11-15 16:06:49 +01:00
proddy 654c9c39ae #2207 2024-11-15 16:01:03 +01:00
proddy c365055825 Track number of WiFi reconnects #2207 2024-11-15 16:00:51 +01:00
proddy 1d8e32ec74 use msgpack content-type - #2166 2024-11-04 11:59:18 +01:00
proddy fd81dc9f5b rename temp file to pre_load.json 2024-10-30 18:09:02 +01:00
proddy 07d35fd19c remove json | false, as it will always default to false 2024-10-21 13:37:30 +02:00
proddy e5b98dadde code cleanup - sonarlint 2024-10-02 09:02:24 +02:00
proddy ab040e120e move uploadURL as an action 2024-09-29 11:08:49 +02:00