Search found 48 matches

by sergiomarina
Tue Feb 14, 2023 10:06 am
Forum: ESP RainMaker
Topic: REST architecture expansion
Replies: 4
Views: 5031

REST architecture expansion

Hi, this is a question on protocol architecture (in particular for ESP32 WROOM). The present architecture consists of a standard REST developed with IDF v5.0 libraries. The AP is also an HTTP server and STA(s) plays as HTTP client (both are ESP32 WROOM). The HTTP server offers an HTML interface to t...
by sergiomarina
Sat Jan 21, 2023 11:40 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 6
Views: 8776

Re: How to get "esp_netif_t *esp_netif" ???

Hi. I connect to this post with the aim not to duplicate. I'd like to assign the property 'host' of a http_client. The 'host' is also the AP and therefore it would be sufficient to retrieve the IP address of the gateway. I would like to leave as-is the example-connect section (just to be clear, now,...
by sergiomarina
Tue Jan 10, 2023 11:54 pm
Forum: ESP-IDF
Topic: ESP IDF 5.0 - alarms from the "output" tab
Replies: 0
Views: 570

ESP IDF 5.0 - alarms from the "output" tab

Hallo Just installed VSC + IDF 5.0 In the "output" tab I read: " 'riscv32-esp-elf-gdb-no-python' is not recognized as an internal or external command, operable program or batch file. Command failed: riscv32-esp-elf-gdb-no-python --version 'riscv32-esp-elf-gdb-no-python' is not recognized as an inter...
by sergiomarina
Wed Dec 28, 2022 5:34 am
Forum: ESP-IDF
Topic: wifi (STA) max retries
Replies: 0
Views: 673

wifi (STA) max retries

Hello, at the present the STA application keeps on trying to connect to the access point for ever. I need to limit the number of the retries. Is this limit configurable? In case, how-to? Is "esp_wifi_connect()" that keeps on retrying and generates the event "WIFI_EVENT_STA_DISCONNECTED"? In case, ho...
by sergiomarina
Wed Dec 28, 2022 5:04 am
Forum: ESP-IDF
Topic: update ESP-IDF with more recent code
Replies: 3
Views: 1767

Re: update ESP-IDF with more recent code

@ ESP_igrr
can you get back to me?
Many thanks, s.
by sergiomarina
Sat Nov 19, 2022 7:00 am
Forum: ESP-IDF
Topic: compilation failure in ESP-IDF 4.4.2 - code for ESP32
Replies: 2
Views: 1799

Re: compilation failure in ESP-IDF 4.4.2 - code for ESP32

Hi ESP-YJM, understand the API functions are not stored in a unique central folder, but they can be everywhere in the package and "git" works in order to find related submodules and compare them for proper updating. Is that correct? After that I need a manual to run the "git" command suggested in yo...
by sergiomarina
Tue Nov 15, 2022 12:59 pm
Forum: ESP-IDF
Topic: STAAP example
Replies: 2
Views: 1580

Re: STAAP example

Hello Felix, thank you for the hint! The project "esp-iot-bridge" applies indeed!!! The project "esp-iot-bridge" is so flexible that could be segmented in a dozen of simpler projects. For my pj I need the "Wi-Fi Router" (as per solution's definitions in the Overview's chapter table https://github.co...
by sergiomarina
Sun Nov 13, 2022 7:58 am
Forum: ESP-IDF
Topic: STAAP example
Replies: 2
Views: 1580

STAAP example

I have searched the website with key STAAP and it resulted 0 occurrences. Apologies if I made it wrongly. With a single ESP32 I could create both AP and STA netif entities. The AP has its own subnet and assigns IP address to new associated stations. The STA can obtain the IP address from an external...
by sergiomarina
Sun Nov 13, 2022 7:41 am
Forum: ESP-IDF
Topic: Is there a way to do this with OTA? (reboot, flash only a specific device, ping for information, etc)
Replies: 4
Views: 2360

Re: Is there a way to do this with OTA? (reboot, flash only a specific device, ping for information, etc)

Good to hear that. On my side the bin transfer is now ok. So far, the solution I described works. Since the url has a length constraint I add only the ending three bytes of the MAC address (good enough) To limit the number of http handlers the GET messages ending portion is segmented by tokens so to...
by sergiomarina
Thu Oct 20, 2022 1:09 pm
Forum: ESP-IDF
Topic: compilation failure in ESP-IDF 4.4.2 - code for ESP32
Replies: 2
Views: 1799

compilation failure in ESP-IDF 4.4.2 - code for ESP32

this error occurs after downloading ESP-IDF 4.4.2: ------------------------------------ C:/esp/esp-idf-442/components/esp-tls/esp_tls_mbedtls.c:27:10: fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or directory #include "mbedtls/atca_mbedtls_wrap.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation ...