🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Error Network Mesh with M5Stack

    Scheduled Pinned Locked Moved General
    2 Posts 1 Posters 3.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      vgamlc
      last edited by vgamlc

      Greetings to all those who help us on these devices.
      I am trying to compile the Mesh Painless mesh basic network example and it gives me a series of errors and I am unable to resolve. If I compile the example with an ES32_Dev_Module board it has no problems but when switching to M5Stack Core2 or any of the family (M5Stick or M5Atom) it does not compile.

      C:\DISENOS\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp: In member function 'void painlessmesh::wifi::Mesh::eventHandleInit()':
      C:\DISENOS\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp:251:22: error: 'SYSTEM_EVENT_SCAN_DONE' is not a member of 'arduino_event_id_t'
      WiFiEvent_t::SYSTEM_EVENT_SCAN_DONE);
      ^~~~~~~~~~~~~~~~~~~~~~
      C:\DISENOS\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp:260:22: error: 'SYSTEM_EVENT_STA_START' is not a member of 'arduino_event_id_t'
      WiFiEvent_t::SYSTEM_EVENT_STA_START);
      ^~~~~~~~~~~~~~~~~~~~~~
      C:\DISENOS\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp:271:22: error: 'SYSTEM_EVENT_STA_DISCONNECTED' is not a member of 'arduino_event_id_t'
      WiFiEvent_t::SYSTEM_EVENT_STA_DISCONNECTED);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      C:\DISENOS\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp:281:22: error: 'SYSTEM_EVENT_STA_GOT_IP' is not a member of 'arduino_event_id_t'
      WiFiEvent_t::SYSTEM_EVENT_STA_GOT_IP);
      ^~~~~~~~~~~~~~~~~~~~~~~
      Multiple libraries were found for "WiFi.h"
      Used: C:\Users\Vicente\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.0\libraries\WiFi
      Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
      exit status 1
      Error compiling for board M5Stack-Core2.

      Thanks in advance.

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        vgamlc @vgamlc
        last edited by

        Any help? Pleased

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post