Search found 8 matches

by jakarman12
Thu Jan 28, 2021 7:30 pm
Forum: IDEs for ESP-IDF
Topic: VS Code Extension. ModuleNotFoundError: No module named 'future'
Replies: 2
Views: 4844

Re: VS Code Extension. ModuleNotFoundError: No module named 'future'

Open Command Palette (F1) and type `Preferences: Open Settings (JSON)` or use `{CURRENT_PROJECT}/.vscode/settings.json` to get the following extension configuration settings value: - `idf.pythonBinPath` (MacOS or Linux) or `idf.pythonBinPathWin` (Windows) also called `Python absolute binary path us...
by jakarman12
Wed Jan 27, 2021 8:49 pm
Forum: General Discussion
Topic: doubt with memory when using esp_http_client
Replies: 1
Views: 3007

doubt with memory when using esp_http_client

Hello guys, I have a doubt with the handling of the heap when using esp_http_client. Every time I make a new request, the heap decreases (I attach the image) after several requests the heap remains at a static value (red box in the image), this last value is what I would expect since I am making the...
by jakarman12
Wed Jan 27, 2021 1:24 am
Forum: ESP-IDF
Topic: how to disable server validation (CA)
Replies: 3
Views: 13379

Re: skip server validation seems not to work

skip_cert_common_name_check will not allow you to bypass TLS, it will only avoid checking the certificate's CN (so a possible mismatch would not fail validation). To completely disable the certificate check, you will need to go to ESP-TLS in menuconfig, enable "Allow potentially insecure options" a...
by jakarman12
Tue Jan 26, 2021 9:37 pm
Forum: ESP-IDF
Topic: how to disable server validation (CA)
Replies: 3
Views: 13379

how to disable server validation (CA)

Hello guys, I'm testing the HTTPs module with esp_http_client but I've gotten a bit stuck. I want to make a request using HTTPS and without validating the server's CA, using the CA's validation works fine, but when I want it not to check the CA (using .skip_cert_common_name_check = true), the progra...
by jakarman12
Mon Jan 25, 2021 1:52 am
Forum: Sample Code
Topic: "After 5 HTTP requests the microcontroller restarts"
Replies: 2
Views: 4699

Re: "After 5 HTTP requests the microcontroller restarts"

Your output_len variable is defined static and does not reset to 0 when you start a new http request. hi @ESP_Sprite I have already reviewed what you tell me, but the static variable is necessary since the handler could be entered more than once for each request ... what I did notice is that the ou...
by jakarman12
Sat Jan 23, 2021 2:04 am
Forum: IDEs for ESP-IDF
Topic: VS Code Extension. ModuleNotFoundError: No module named 'future'
Replies: 2
Views: 4844

VS Code Extension. ModuleNotFoundError: No module named 'future'

Hello guys, I'm using the extension for vsCode, but apparently, I get an error that I can't solve. OS: Windows 10 Python: v3.7.3 IDF: v4.2 espressif.esp-idf-extension: v0.6.1 vsCode: v1.52.1 When I press the compile button I get the following error: ======================================= ERROR ====...
by jakarman12
Fri Jan 22, 2021 11:36 pm
Forum: Sample Code
Topic: "After 5 HTTP requests the microcontroller restarts"
Replies: 2
Views: 4699

"After 5 HTTP requests the microcontroller restarts"

Hi guys, I'm stuck with an issue that I ran into while testing the esp_http_client component. can you help me please? :( HW: ESP32-DevKitC IDF Version: v4.2-238-g8cd16b60f Problem: After 5 HTTP requests the microcontroller restarts. Description: I require a task that every 5 seconds send a POST requ...
by jakarman12
Fri Oct 30, 2020 7:07 pm
Forum: Hardware
Topic: Doubts with ESP32 - ADC
Replies: 1
Views: 2371

Doubts with ESP32 - ADC

Hello everyone, I hope you are doing very well. :) I am about to start a project using ESP32 but I have some doubts and would like to know if you can help me, please. I intend to use the ESP32-WROOM-32 module. The doubts are more focused on the ADCs and are the following: 1.- As far as I understand ...