Search found 5 matches

by pablomartinez
Thu Jul 28, 2022 2:48 pm
Forum: ESP-IDF
Topic: Obtaining the https response using esp_http_client_perform
Replies: 2
Views: 5819

Re: Obtaining the https response using esp_http_client_perform

You need to capture HTTP_EVENT_ON_DATA event and copy the received data chunks to your user_data buffer. I defined the event handler: esp_err_t client_event_get_handler(esp_http_client_event_handle_t evt) { static char *output_buffer; // Buffer to store response of http request from event handler st...
by pablomartinez
Sun Aug 01, 2021 6:41 pm
Forum: ESP-IDF
Topic: Best Practise for adding files to IDF standard component
Replies: 2
Views: 2770

Re: Best Practise for adding files to IDF standard component

Ok, I found out. You need first to enable the alternative threading from the sdkconfig (idf.py menuconfig) Component config > mbedTLS > Enable the threading abstraction layer > Enable threading alternate implementation And afterwads, add the following line to your project's CMakeLists.txt include_di...
by pablomartinez
Sat Jul 31, 2021 10:18 pm
Forum: ESP-IDF
Topic: Best Practise for adding files to IDF standard component
Replies: 2
Views: 2770

Re: Best Practise for adding files to IDF standard component

Hi,

I'm in the same point as you. Could you share how did you solved this issue?

Many thanks!
by pablomartinez
Thu Jul 29, 2021 9:02 am
Forum: ESP-IDF
Topic: Has AWS Embedded C Sdks Been Removed From ESP-IDF?
Replies: 3
Views: 2850

Re: Has AWS Embedded C Sdks Been Removed From ESP-IDF?

Hi acp_21,

Did you manage to integrate AWS component inside esp-idf? Can you share your conclusions?

Best regards
by pablomartinez
Thu Jul 29, 2021 8:23 am
Forum: ESP-IDF
Topic: Integrating and compiling FreeRTOS and AWS inside ESP-IDF
Replies: 0
Views: 1559

Integrating and compiling FreeRTOS and AWS inside ESP-IDF

Hi, I am trying to generate a new project using amazon-freertos project for a ESP32 wroom device. I am able to compile an external project using this kind of CMakeLists.txt cmake_minimum_required(VERSION 3.13) set(esp_idf_dir "$ENV{AMAZON_FREERTOS_DIR}/vendors/espressif/esp-idf") include(${esp_idf_d...