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

    ESPNOW "add peer'' mac adress as vairable

    Features Wish List
    1
    1
    1.9k
    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.
    • L
      Luc3DSupplies
      last edited by

      In the current UIFLow (offline version 1.0.18 of online version 1.10.1) it is impossible to add a ESPNow peer with the macaddress defined in a variable.
      0_1658781956576_cec6af96-2557-423a-9160-fae4842c53e4-image.png

      The goal is to be able to add peers by the mac address received from a broadcasted message.

      • M5Paper as server broadcasts a message to call for devices taht he might be able to 'command'
      • M5AtomLight as clients store the server address, add a peer directly to server and send their setup in a json towards the server
      • the server (m5paper) stiores the device in a dictionary and adds buttons to the touchscreen with devices functionalities

      when user presses any of those buttons on the touch e-ink, the correct command is send towards the correct client to let if process some functionality

      1 Reply Last reply Reply Quote 0
      • First post
        Last post