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

    Atom MAC-address

    Scheduled Pinned Locked Moved Arduino
    1 Posts 1 Posters 1.2k Views
    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.
    • PaulskptP Offline
      Paulskpt
      last edited by Paulskpt

      Hi, I encountered the following:

      In an Arduino sketch for my M5Stack Atom Matrix, I used the following code snippet,
      that Microsoft CoPilot presented me to get the MAC address of the Atom Matrix:

      uint64_t chipid = ESP.getEfuseMac(); // The chip ID is essentially the MAC address 
        Serial.printf( "\nESP32 Chip ID = %04X%08X\n", (uint16_t)(chipid>>32), (uint32_t)chipid);
      

      The result of this code is: "ESP32 Chip ID = 90E08008B764".

      Also

      byte mac[6];
      WiFi.macAddress(mac)
      

      results in: 90E0808B764,

      However, M5Stack M5Burner app reports the following MAC address: "64b70880e090".

      Both values are a "mirror" of each other. How come?
      Has it to do with "little endian" versus "big endian"?

      Coding keeps your mind going

      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