Git Product home page Git Product logo

Comments (4)

leodesigner avatar leodesigner commented on August 11, 2024

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.

ArminPP avatar ArminPP commented on August 11, 2024

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.

ozi2277 avatar ozi2277 commented on August 11, 2024

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.

leodesigner avatar leodesigner commented on August 11, 2024

I guess we can close the issue now.
Thanks.

from espnowfloodingmeshlibrary2.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.