Search found 6 matches

by sinmosh
Mon Oct 30, 2023 5:12 pm
Forum: ESP-IDF
Topic: http server memory issue
Replies: 1
Views: 884

http server memory issue

Hello I use esp-idf v4.4 http server with websocket and noticed tha the code leaks memory (by calling esp_get_free_heap_size()) when a new client connection from a browser happens. The code doesn't release the heap even after the connection gets closed. here is the server configs that I use: config....
by sinmosh
Mon Sep 11, 2023 6:47 pm
Forum: ESP-IDF
Topic: Web Socket does not free up memory after closing
Replies: 0
Views: 665

Web Socket does not free up memory after closing

Hello in my code I use a Web Socket registered as httpd_uri with data structure indicates this is for websocket server. The problem is that it the memory doesn't get free after clsong the websocket. It seems there is a memoery leak problem somewhere in the code? I initialize the http server with thi...
by sinmosh
Thu Sep 07, 2023 10:46 pm
Forum: ESP-IDF
Topic: webserver - how to get incoming http request IP address
Replies: 4
Views: 9124

Re: webserver - how to get incoming http request IP address

@ESP_Anurag Thank you for the great hint!
by sinmosh
Sun Jun 04, 2023 1:37 am
Forum: ESP-IDF
Topic: mqtt connection issue error code: ESP_ERR_ESP_TLS_CONNECTION_TIMEOUT
Replies: 1
Views: 2833

mqtt connection issue error code: ESP_ERR_ESP_TLS_CONNECTION_TIMEOUT

When using esp-idf v4.4.3 and the esp-mqtt client code, I attempted to connect to a broker with the IP address 192.168.0.40 and port 1883. However, I got the following error logs: E (81019) esp-tls: [sock=57] select() timeout E (81019) TRANSPORT_BASE: Failed to open a new connection: 32774 E (81019)...
by sinmosh
Sat Nov 12, 2022 10:13 pm
Forum: ESP IoT Solution
Topic: Matter application is stuck in pairing stage using Launchpad
Replies: 2
Views: 4953

Matter application is stuck in pairing stage using Launchpad

Hello I use Launcpad web portal to flash Matter applications like allclusterapps into ESP32. Then I use the generated QR code to pair the device. After a few seconds the mobile app shows "Commissioning Failed! Could not pair device. time out" My phone's Bluetooth is on and all permissions enabled. T...
by sinmosh
Mon Oct 17, 2022 3:20 am
Forum: ESP RainMaker
Topic: Device can't be used as trigger in routine creation in Alexa app
Replies: 1
Views: 2562

Device can't be used as trigger in routine creation in Alexa app

Hello I run Rainmaker temperature example on ESP 32 dev board and it appears in the Alexa app as a new device. As a sensor device I expect to be able to use it in the routines. So I try to create a routine but cannot see the device in "When this happens" --> Smart Home section of the app. Could you ...