Page 1 of 1

ESP Now + ESP Wifi + ESP Mesh -> Is it possible?

Posted: Wed Dec 08, 2021 10:03 am
by Magnetuz
Hello everybody!

I am trying the following setup: I have a mesh + wifi running in a group of ESP32 devices. It works properly. I want to debug and trace what is happening in the devices, so I setup up an esp-now configuration to send the logs to an outsider esp32 device that just prints them in a serial port (whatever it receives). When the mesh is running and the wifi is "offline" (no router), the esp-now msgs are sent normally from all the nodes + root. As soon as the wifi goes "online" (router in on), the root stops sending the esp-now messages (even though esp_now_send returns ESP_OK).

Is it possible to use Wifi + Now + Mesh simultaneously?

My project is basically a merge from [https://github.com/espressif/esp-idf/t ... fi/espnow] + [https://github.com/espressif/esp-idf/t ... unication], with modifications to tx/rx properly my data.

I am using the esp-idf v4.3.1

I've already checked many other pages with different possible solutions that didn't work for me, as below:
- Esp-now and Wifi in the same channel;
- Disable power saving (esp_wifi_set_ps(WIFI_PS_NONE));
- Enable both softAP + STA;


Thanks in advance for any help

Re: ESP Now + ESP Wifi + ESP Mesh -> Is it possible?

Posted: Wed Dec 08, 2021 12:53 pm
by kalmesh_S
Magnetuz wrote:
Wed Dec 08, 2021 10:03 am
Hello everybody!

I am trying the following setup: I have a mesh + wifi running in a group of ESP32 devices. It works properly. I want to debug and trace what is happening in the devices, so I setup up an esp-now configuration to send the logs to an outsider esp32 device that just prints them in a serial port (whatever it receives). When the mesh is running and the wifi is "offline" (no router), the esp-now msgs are sent normally from all the nodes + root. As soon as the wifi goes "online" (router in on), the root stops sending the esp-now messages (even though esp_now_send returns ESP_OK).

Is it possible to use Wifi + Now + Mesh simultaneously?

My project is basically a merge from [https://github.com/espressif/esp-idf/t ... fi/espnow] + [https://github.com/espressif/esp-idf/t ... unication], with modifications to tx/rx properly my data.

I am using the esp-idf v4.3.1

I've already checked many other pages with different possible solutions that didn't work for me, as below:
- Esp-now and Wifi in the same channel;
- Disable power saving (esp_wifi_set_ps(WIFI_PS_NONE));
- Enable both softAP + STA;


Thanks in advance for any help


Hey hi is your softAP is getting connected to wifi(router) or any smartphones..?? If you getting connected means can you help me out please.. :cry: :cry: :cry: :cry:

Re: ESP Now + ESP Wifi + ESP Mesh -> Is it possible?

Posted: Thu Dec 09, 2021 7:36 am
by Magnetuz
Hi kalmesh_S.

I am using the STA to connect to the router. What is your issue?

Re: ESP Now + ESP Wifi + ESP Mesh -> Is it possible?

Posted: Thu Dec 09, 2021 7:41 am
by kalmesh_S
Hi

I'm trying to connect my smartphone and some other wifi devices to esp32 in AP mode which is there in example/wifi/getting_started/softAP because whenever i try to connect means it is not getting connected

can i get any help from your side

thanks in advance

Re: ESP Now + ESP Wifi + ESP Mesh -> Is it possible?

Posted: Thu Dec 09, 2021 8:16 am
by Magnetuz
Sorry, but this issue is not related to this post. As a small help, your problem seems a wrong/incomplete initialization. You should check if you are properly enabling the softAP mode and initializing/configuring the softAP interface, including the wifi configuration and DHCP server. You could go for the IDF/MDF examples and compare to your code.