Comments (4)
Thank you @ozi2277 :)
Do you mean Arduino framework version for ESP32?
I had no chance to test it, what kind of compile errors you are getting ?
from espnowfloodingmeshlibrary2.
Hello ozi2277,
I use this library in PlatformIO with version >2.0, I think.
And it works like a charm, thanks again @loedesigner :-)
PIO says after compiling:
- framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
So I think 2.0.9 is the Version ?
Five months ago I wrote a little test program for this library: https://github.com/ArminPP/M5Atom_ESP-MESH_Test
It is written for M5Stack Atom, but should also work also with a plain ESP32.
from espnowfloodingmeshlibrary2.
Thank you @ozi2277 :) Do you mean Arduino framework version for ESP32? I had no chance to test it, what kind of compile errors you are getting ?
That's about the arduino ide and more specifically I'm using Visual Studio with the visualmicro "arduino" add-on. This morning my hard drive crashed and I had to reinstall everything but I managed to solve the problem of incorrect compiling of the program. The error was with your espNowFloodingMeshLibrary2 library, specifically wifi802_11.cpp, line 136:
esp_wifi_80211_tx(ESP_IF_WIFI_STA, buf, sizeof(raw_HEADER) + len + 2, true);
I don't remember the exact message but it was "cannot convert esp_interface to user_interface" but something similar.. The problem was changing enum names in ESP32 for libraries from 2.0.0 and newer.
It was enough to replace the argument name of the "ESP_IF_WIFI_STA" function with "WIFI_IF_STA" -> esp_wifi_80211_tx(WIFI_IF_STA, buf, sizeof(raw_HEADER) + len + 2, true);
After this change everything works without problems, I tested for the latest version for arduino IDE ESP32 lib v 2.0.10
I'm basically an amateur programmer and sorry for my English.
from espnowfloodingmeshlibrary2.
I guess we can close the issue now.
Thanks.
from espnowfloodingmeshlibrary2.
Related Issues (8)
- Thanks and a few suggestions for telemetry HOT 1
- Missing functions HOT 1
- Esp32-c3 compatibility ? HOT 6
- Messages recieved but ignored due to CRC mismatch, when mixing ESP8266 and ESP32 devices HOT 7
- [BUG] Compile error with ESP32 HOT 1
- Problem compiling Platformio ESP32 HOT 1
- Will ESP NOW Mesh Support 1000 nodes Connected in a line(Street Light) each 50-100 meter apart HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espnowfloodingmeshlibrary2.