Page 1 of 1

painlessMesh (the painless way to build a mesh) now also supports ESP32

Posted: Mon Nov 13, 2017 10:44 am
by BlackEdder
painlessMesh has been ported to support ESP32 hardware. This project provides a painless way to setup a JSON based mesh and used to only work on ESP8266 hardware, but we now also officially support the ESP32. We decided to move to the improved ESP32 api by writing thin wrappers for the ESP8266 hardware that translate ESP32 api calls to ESP8266 specific calls: header and source. With this translation layer we can use the ESP32 API in most of the project (i.e. only the espInterface files are ESP8266 specific).

The porting work was partly funded by: sowillo

Re: painlessMesh (the painless way to build a mesh) now also supports ESP32

Posted: Wed Mar 28, 2018 4:01 pm
by BaartCM
Hi Blackedder,

I have been trying painlessMesh and it seems that it might be the answer to my quest so I have a cunning plan to use it! Thank you for your hard work and for making it available.

Can you tell me what is the maximum number of nodes connected in the mesh?

Regards

Steve.

Re: painlessMesh (the painless way to build a mesh) now also supports ESP32

Posted: Thu Jul 05, 2018 11:49 pm
by plajjd
I also am interested in the max number of nodes in a PainlessMesh network using ESP32.

I would like to have a network with 50 nodes, all of the nodes within a 50 foot radius. Would this work well?

Thanks!

Re: painlessMesh (the painless way to build a mesh) now also supports ESP32

Posted: Wed Nov 28, 2018 7:08 am
by futechiot
Hello There

I have made a successful solution by using PAINLESS MESH on ESP8266.
Now, I'm trying to use this painless mesh with ESP32 but in compiling, I got one error as below

Code: Select all

C:\Users\Arana\Documents\Arduino\libraries\painlessMesh-master\src/painlessMesh.h:232:5: error:'WiFiEventId_t' does not name a type

     WiFiEventId_t eventScanDoneHandler;
     ^
C:\Users\Arana\Documents\Arduino\libraries\painlessMesh-master\src/painlessMesh.h:233:5: error: 'WiFiEventId_t' does not name a type

     WiFiEventId_t eventSTAStartHandler;
     ^
C:\Users\Arana\Documents\Arduino\libraries\painlessMesh-master\src/painlessMesh.h:234:5: error: 'WiFiEventId_t' does not name a type

     WiFiEventId_t eventSTADisconnectedHandler;
     ^
C:\Users\Arana\Documents\Arduino\libraries\painlessMesh-master\src/painlessMesh.h:235:5: error: 'WiFiEventId_t' does not name a type

     WiFiEventId_t eventSTAGotIPHandler;
I think for ESP 32 I have to change something at painlessmeshconnection.h
I don't know what to change to make this library work with ESP32
can anyone help me?
any kind of help is appreciated.

Thanks.:)