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

BlackEdder
Posts: 4
Joined: Sun Oct 29, 2017 2:20 pm

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

Postby BlackEdder » Mon Nov 13, 2017 10:44 am

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

BaartCM
Posts: 17
Joined: Tue Mar 13, 2018 11:55 am

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

Postby BaartCM » Wed Mar 28, 2018 4:01 pm

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.

plajjd
Posts: 54
Joined: Thu Jul 05, 2018 11:47 pm

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

Postby plajjd » Thu Jul 05, 2018 11:49 pm

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!

futechiot
Posts: 4
Joined: Tue Nov 20, 2018 6:52 am

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

Postby futechiot » Wed Nov 28, 2018 7:08 am

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.:)

Who is online

Users browsing this forum: No registered users and 45 guests