Search found 5 matches
- Tue Mar 07, 2023 7:55 am
- Forum: ESP-IDF
- Topic: Not enough heap memory during esp_wifi_init()
- Replies: 2
- Views: 2520
Re: Not enough heap memory during esp_wifi_init()
I solved it by disabling IRAM optimization using the menu config. This should save about 27kb. The specific options disabled are CONFIG_ESP32_WIFI_IRAM_OPT and CONFIG_ESP32_WIFI_RX_IRAM_OPT.
- Fri Mar 03, 2023 2:31 pm
- Forum: ESP-IDF
- Topic: Not enough heap memory during esp_wifi_init()
- Replies: 2
- Views: 2520
Not enough heap memory during esp_wifi_init()
I am using a ESP32 project with LVGL. The starting point was the https://github.com/espressif/esp-dev-kits/tree/master/esp32-s2-hmi-devkit-1/examples/get-started/hello_world project. I want to add WiFi access point functionality but it appears there is not enough memory available. Decreasing the buf...
- Fri Jun 10, 2022 8:27 am
- Forum: ESP-IDF
- Topic: How to setup MQTT over SSL with ESP IDF
- Replies: 4
- Views: 6142
Re: How to setup MQTT over SSL with ESP IDF
The error 0x8008 is ESP_ERR_ESP_TLS_TCP_CLOSED_FIN. It seems the peer send FIN to close the connection. I have no idea why the server send FIN. You can use MQTT client tool to connect your server and compare with it. This is true! Unfortunately this was not documented on the error code page. I had ...
- Sat Jun 04, 2022 9:52 am
- Forum: ESP-IDF
- Topic: How to setup MQTT over SSL with ESP IDF
- Replies: 4
- Views: 6142
Re: How to setup MQTT over SSL with ESP IDF
Unfortunately this was not a solution to our problem. Still receiving the same error.
In menuconfig we have CONFIG_MQTT_PROTOCOL_311 enabled. And we also enabled CONFIG_ESP_TLS_INSECURE and CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY.
In menuconfig we have CONFIG_MQTT_PROTOCOL_311 enabled. And we also enabled CONFIG_ESP_TLS_INSECURE and CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY.
- Thu Jun 02, 2022 9:57 pm
- Forum: ESP-IDF
- Topic: How to setup MQTT over SSL with ESP IDF
- Replies: 4
- Views: 6142
How to setup MQTT over SSL with ESP IDF
Description We are trying to setup ESP IDF to connect with the build in MQTT server of thingsboard. We have setup the certificates as suggested in the tutorial by thingsboard with self signed certicates https://thingsboard.io/docs/user-guide/mqtt-over-ssl/#self-signed-certificates-generation . We c...