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
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
6b31fef1af
build on mac osx
2026-04-15 20:37:27 +02: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
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
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
4ae4000944
asyncTCP fix
2026-01-03 22:48:17 +01:00
MichaelDvP
6c42cbfb4b
make task cores configurable in platformio.ini
2025-06-28 13:00:53 +02:00
proddy
eb87651c47
merge #2108
2025-01-04 13:41:39 +01:00
proddy
60c1da327b
compile all platforms
2024-08-02 12:34:07 +02:00
proddy
3159561cfb
compile native on OSX
2024-08-02 12:20:09 +02:00
proddy
4ec5739b67
test on Windows
2024-08-01 22:12:33 +02:00
MichaelDvP
c6e6b62435
fix mqtt-ssl
2024-07-25 14:33:15 +02:00
proddy
2b7b8c1bd9
fix for compiling on Mac OSX Apple Silicon
2024-07-11 16:26:33 +02:00
proddy
7f1dbbcb94
update to 1.7.0
2024-06-04 21:19:48 +02:00
proddy
5daa76649b
add comment
2024-05-29 22:22:39 +02:00
proddy
b6accb8d02
add extra {} to SubscribeItem list[1]
2024-02-14 14:46:10 +01:00
MichaelDvP
446601c6e0
update mqttClient, works with tasmota-arduino 2.14 / 3.0 without WiFiSecure
2023-12-19 13:47:10 +01:00
Proddy
dd6b435417
merge latest change from official repo
2023-12-12 22:34:34 +01:00
MichaelDvP
41666458d9
merge mqttClinet PR 115 from BertMelis
2023-11-01 18:18:56 +01:00
MichaelDvP
de2792ffdd
add back esp32-s3 SSL for mqtt
2023-10-18 10:34:21 +02:00
MichaelDvP
2583da8714
platform asdev, revert mqtt client changes, uart-isr to flash to save ram
2023-10-18 07:54:36 +02:00
MichaelDvP
b111e4762a
remove SSL from S3 build
2023-10-15 10:25:32 +02:00
MichaelDvP
b4e266f128
mqtt secure only for S3 (avoid conflict with tasmota platform esp32)
2023-10-14 18:31:06 +02:00
MichaelDvP
bbc5bc8585
sync mqtt client with origin
2023-09-20 12:17:24 +02:00
MichaelDvP
005463c41f
update espMqttClient
2023-08-31 11:50:31 +02:00
MichaelDvP
ae1bf1cbfb
merge mqtt changes from bertmelis, dev2
2023-08-31 09:47:07 +02:00
MichaelDvP
120c0b5ca2
update espMqttClient, add own mqtt limit, fix queue display, 3.7.0-dev1d
2023-08-31 08:09:54 +02:00
MichaelDvP
d17582d697
mqtt check 60k free heap (not maxalloc), dev1c
2023-08-30 13:39:19 +02:00
MichaelDvP
c3227a6352
mqtt:min alloc to 45k, fix memcheck for PSRAM, dev1b
2023-08-30 12:38:29 +02:00
MichaelDvP
d0c368f6a0
dont allow not_connected_publish, fix mqtt success/fail counters, v3.7.0-dev1a
2023-08-30 12:19:55 +02:00
MichaelDvP
f6a4da0584
mqtt free mem to 40k, v3.7.0-dev1
2023-08-29 12:40:10 +02:00
proddy
d84a555171
make standalone compile on osx
2023-07-15 12:42:54 +02:00
Proddy
b659218d13
use original formatting
2023-07-15 11:34:57 +02:00
Proddy
37724814be
changes to compile standalone
2023-07-15 11:33:38 +02:00
Proddy
98dd25c5bb
make EMS-ESP compile standalone on osx/darwin and linux
2023-07-15 11:00:04 +02:00
proddy
ccd69c2c3a
compile on mac osx
2023-07-15 10:24:43 +02:00
Proddy
9ff8d01e93
make standalone compile
2023-07-13 21:50:34 +02:00
MichaelDvP
5977b0585d
update mqtClient
2023-07-03 21:09:56 +02:00
MichaelDvP
b28865a283
use only espMqttClient queue
2023-06-05 10:06:19 +02:00
MichaelDvP
181b672c1a
add ventilation bypass
2023-06-04 15:32:43 +02:00
MichaelDvP
7865ddc51f
use espMqttClient, qos2 fixed
2023-06-03 16:36:53 +02:00