Search found 11 matches

by asierdo
Tue Nov 14, 2023 6:40 pm
Forum: IDEs for ESP-IDF
Topic: Multi config example and sdkconfig file in VSC
Replies: 0
Views: 27841

Multi config example and sdkconfig file in VSC

Hi, I'm testing Multiple Build Configurations Example from idf examples and I'm confused with sdkconfig and it's path. One hand we've got "set(SDKCONFIG "${CMAKE_BINARY_DIR}/sdkconfig")" in CMakeList.txt project file, which it indicates in same path of binary file but in the other hand, we have "sdk...
by asierdo
Mon Nov 13, 2023 10:19 am
Forum: ESP RainMaker
Topic: How to build esp-rainmaker examples in VSC (esp idf)
Replies: 5
Views: 24988

Re: How to build esp-rainmaker examples in VSC (esp idf)

I modified both files as you said and now I can build the project.
Thank you so much,
Asier
by asierdo
Fri Nov 10, 2023 5:28 pm
Forum: ESP RainMaker
Topic: How to build esp-rainmaker examples in VSC (esp idf)
Replies: 5
Views: 24988

Re: How to build esp-rainmaker examples in VSC (esp idf)

Hi joshNOA, Thanks for replying. I don't want to introduce more new variables to my problem, so I leave docker and containers functionality to the future. My goal is to build "..\esp-rainmaker\examples\led_light" example in VSC IDE. So, I open the folder in VSC and firstly I do "ESP-IDF: Add vscode ...
by asierdo
Fri Nov 10, 2023 4:37 pm
Forum: ESP RainMaker
Topic: ESp Rainmaker HomeKit Error Compiling
Replies: 5
Views: 25425

Re: ESp Rainmaker HomeKit Error Compiling

Hi, I've got same issue trying to build "led_light" example in VSC: -- Found Git: C:/Users/ASIER.DINUY/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- Component directory C:/Users/ASIER.DINUY/.espressif/esp-rainmaker/components/esp-insights does not contain a CMakeL...
by asierdo
Tue Nov 07, 2023 9:05 am
Forum: ESP RainMaker
Topic: How to build esp-rainmaker examples in VSC (esp idf)
Replies: 5
Views: 24988

How to build esp-rainmaker examples in VSC (esp idf)

Hi, I'm getting started with esp rainmaker. I can see that web guide explain how to get start with CLI esp idf, but I can't find any information about how to build esp rainmaker examples with Visual Studio Code. I try to do that but I get some issues about setting up IDE in right way. I've done next...
by asierdo
Mon Sep 25, 2023 11:16 am
Forum: General Discussion
Topic: UDP packet stops going out over ethernet
Replies: 7
Views: 3220

Re: UDP packet stops going out over ethernet

The issue was here: esp_netif_ip_info_t ip; memset(&ip, 0, sizeof(esp_netif_ip_info_t)); ESP_ERROR_CHECK(esp_netif_get_ip_info( eth_netif , &ip)); struct sockaddr_in addr; memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_port = htons(PORT); addr.sin_addr.s_addr = ip.ip.addr; int r...
by asierdo
Fri Sep 22, 2023 8:59 am
Forum: General Discussion
Topic: UDP packet stops going out over ethernet
Replies: 7
Views: 3220

Re: UDP packet stops going out over ethernet

It seems to be otion b) that you said, because only when the router assigns an IP does it start to fail. Is there any way or example to redirect those udp packets to the ethernet interface ? I've tried to bind but it does not work: esp_netif_ip_info_t ip; memset(&ip, 0, sizeof(esp_netif_ip_info_t));...
by asierdo
Thu Sep 21, 2023 7:39 am
Forum: General Discussion
Topic: Web is not served when setting static ip
Replies: 1
Views: 1017

Re: Web is not served when setting static ip

The problem was solved!!
All that happened was that the IP I was trying to set as static had been used by other device.
So, I've tried with another address and it works fine.
Regards,
ASier.
by asierdo
Wed Sep 20, 2023 9:52 am
Forum: General Discussion
Topic: Web is not served when setting static ip
Replies: 1
Views: 1017

Web is not served when setting static ip

Hi, I'm working with ESP32-WROVER-E module. I start a webserver with some websockets and configure the wifi as a client. ESP32 connects to my router and it assigns us an IP dinamically. So far everything works well and as expected. The problem arises when I configure my static IP on my wifi client. ...
by asierdo
Wed Sep 20, 2023 8:36 am
Forum: General Discussion
Topic: UDP packet stops going out over ethernet
Replies: 7
Views: 3220

Re: UDP packet stops going out over ethernet

I bind sock to address but no way. Furthermore, I do: int err = sendto(sock, &udp_packet, sizeof(udp_packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr)); where address is explicitly passed to the function. ¿Why udp packet are going out when Wifi is in AP mode or when it is just disabled an...