I had successfully created a SENSOR NODE and GATEWAY type mechanism using esp8266 and using PAINLESSMESH library.
now I want to use ESP32 for better performance when I'm trying to use PAINLESS MESH with ESP 32 I got following error:
I'm using Arduino IDE and ESP32 MH ET.
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'm not sure
can anyone help me with this painless mesh and esp32?
Thanks