mesh network + wifi

marcol
Posts: 8
Joined: Mon Mar 29, 2021 2:00 pm

mesh network + wifi

Postby marcol » Tue May 18, 2021 6:37 am

I made a mesh network with three esp32 devices using the painlessMesh.h library and everything is working fine.
When I connect only one esp32 to the wifi network, it often doesn't respond to the ping for several seconds.
What can it be?

marcol
Posts: 8
Joined: Mon Mar 29, 2021 2:00 pm

Re: mesh network + wifi

Postby marcol » Tue May 18, 2021 6:43 am

sorry, I have the wrong section of the forum, I am using Arduino-Ide.

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: mesh network + wifi

Postby ESP_Sprite » Wed May 19, 2021 2:17 am

No problem. Moved ESP-IDF -> Arduino.

lbernstone
Posts: 669
Joined: Mon Jul 22, 2019 3:20 pm

Re: mesh network + wifi

Postby lbernstone » Wed May 19, 2021 2:42 am

Try WiFi.setSleep(false);

marcol
Posts: 8
Joined: Mon Mar 29, 2021 2:00 pm

Re: mesh network + wifi

Postby marcol » Wed May 26, 2021 2:38 pm

The first problem was my fault, I was using bad a library.

I have created a mesh network with some esp32 devices.
The master device connects to the main wifi and communicates with the other mesh devices.
The maximum number of nodes is 10, so if I want to add other devices I have to create an additional root node that acts as a bridge.
Unfortunately I can't find any documentation about it. I'm using the Arduino IDE and I can't find any procedures on the library that help me.

Who is online

Users browsing this forum: No registered users and 70 guests