Search found 3 matches

by DaniGia
Fri Feb 09, 2024 7:57 pm
Forum: General Discussion
Topic: ESP32-S3-WROOM-2 usable pins
Replies: 0
Views: 388

ESP32-S3-WROOM-2 usable pins

Hi,
I have a doubt about the IO6 - IO11.
Are these IOs usable or are they dedicated to flash and that's it?
If I were to use them, would it compromise the functioning of the flash?
Thank you.
by DaniGia
Fri Nov 24, 2023 1:11 pm
Forum: ESP-IDF
Topic: Help for the TCP/IP Server in access point mode
Replies: 2
Views: 3304

Re: Help for the TCP/IP Server in access point mode

I'm not a sockets Guru but I think you should change serverAddress.sin_addr.s_addr = htonl(INADDR_ANY); to inet_pton(AF_INET, "192.168.4.1", &serverAddress.sin_addr); because "192.168.4.1" is the IP addr of the softAP thing, and this is the (iface ? dunno what to call it) you want to bind your sock...
by DaniGia
Thu Nov 16, 2023 2:27 pm
Forum: ESP-IDF
Topic: Help for the TCP/IP Server in access point mode
Replies: 2
Views: 3304

Help for the TCP/IP Server in access point mode

I would need a hand to write the code by setting the wifi as an access point, and then communicating via tcp/ip. I would like to create non-blocking code that is mostly made up of functions so that I can then call them in main. This is the part of the code where I set the wifi and tcp/ip: /* BSD non...