Search found 123 matches

by RichPiano
Mon Jan 23, 2023 7:22 am
Forum: ESP-IDF
Topic: Get length of full http response in case it is chunked
Replies: 2
Views: 1435

Get length of full http response in case it is chunked

Is there a way to get the full response length in case I just get chunks using the esp http client? From the implementation it seems that client->response->chunk_length is always equal to client->response->content_length? Am I mistaken? Use: I want to preallocate a buffer of the exact size of the re...
by RichPiano
Mon Jan 23, 2023 7:19 am
Forum: ESP-IDF
Topic: Installing ESP-IDF.
Replies: 11
Views: 6583

Re: Installing ESP-IDF.

Don't worry it took me a few days as well. Here's the big picture: 1) Download the esp-idf git repo 2) Install using install.bat (or install.sh when on linux) from the repo directory -> this will install the "toolchain" (compiler, cmake and such). I would recommend to set environment variables IDF_P...
by RichPiano
Fri Jan 06, 2023 8:52 am
Forum: ESP-IDF
Topic: esp32 multithreading with std::future/promise & std::packaged_task
Replies: 0
Views: 1061

esp32 multithreading with std::future/promise & std::packaged_task

I'm thinking about using std::future/std::promise and std::packaged_task to facilitate multithreading on the esp32. I get that the abstraction layering between the multitasking functions is as follows: std::thread pthread FreeRTOS tasks In any case I do need the flexibility to set task priorities as...
by RichPiano
Wed Jan 04, 2023 10:25 am
Forum: ESP-IDF
Topic: Appending Headers to WebSocket Connection?
Replies: 1
Views: 3217

Re: Appending Headers to WebSocket Connection?

Yes it is possible. You can use the .headers field when initializing the websocket client for esp_websocket_client_init(). However: There's no comfy function to guarantee that the headers will have the right format, so you have to care for that yourself. The library (currently) just pastes what you ...
by RichPiano
Tue Dec 06, 2022 9:48 am
Forum: ESP-MDF
Topic: ESP WIFI-Mesh vs. Matter
Replies: 4
Views: 34911

Re: ESP WIFI-Mesh vs. Matter

Thank you martins. Do you know why Thread and Zigbee have this low throughput? Does it have something to do with the low-power aspect of those protocols?
by RichPiano
Fri Dec 02, 2022 3:22 pm
Forum: ESP-MDF
Topic: ESP WIFI-Mesh vs. Matter
Replies: 4
Views: 34911

ESP WIFI-Mesh vs. Matter

What are espressifs thoughts on having matter protocol support for the ESP-WiFi mesh? My fear is that espressif will drop their proprietary wifi mesh in favour of the more standardized thread or zigbee implementations that also support matter. Right now we're looking for a mesh protocol that support...
by RichPiano
Fri Dec 02, 2022 3:12 pm
Forum: ESP-MDF
Topic: Want to decide which framework is better choice for image transfer on wireless network
Replies: 3
Views: 53453

Re: Want to decide which framework is better choice for image transfer on wireless network

From what I know, bluetooth and wifi can coexist on ESP32. You want to use BLE mesh only for small "trigger"-like inputs not for transfering huge data. Usually only data of two bytes is sent. It's really made for battery powered low energy devices. ESP-WIFI mesh is better but we're also evaluation i...
by RichPiano
Mon Nov 21, 2022 12:59 pm
Forum: ESP-IDF
Topic: matter mesh using esp32 bluetooth BLE
Replies: 1
Views: 1642

Re: matter mesh using esp32 bluetooth BLE

I want to push back on this topic as this our core effort right now. Is there a platform that maybe discusses matter topics more actively? I don't want to unnecessarily bother here.
by RichPiano
Mon Nov 21, 2022 6:54 am
Forum: ESP-IDF
Topic: OpenSSL API wrapper not available for ports? (IDF 5.x)
Replies: 2
Views: 1938

Re: OpenSSL API wrapper not available for ports? (IDF 5.x)

Thank you. Why is it not included in idf v5.0 / 5.1?