Skip to content

Seem a little mistake with ESP32 C3 #20

Open

Description

@Skywalkerf34

Hi,

This lib works like a Charm with ESP32 C3 except that all my device's low MAC are minus 1
original MAC is 84:F7:03:3B:49:ED
given Mac by the library is 84:F7:03:3B:49:EC

This is always the same with all my chip

Activity

  1. ricaun commented on May 18, 2022

    @ricaun
    Owner

    The library is using the uint64_t chipid = ESP.getEfuseMac();

    #elif defined(ARDUINO_ARCH_ESP32)
    uint64_t chipid = ESP.getEfuseMac();
    id[0] = 0;
    id[1] = 0;
    id[2] = chipid;
    id[3] = chipid >> 8;
    id[4] = chipid >> 16;
    id[5] = chipid >> 24;
    id[6] = chipid >> 32;
    id[7] = chipid >> 40;

  2. Skywalkerf34 commented on May 18, 2022

    @Skywalkerf34
    Author

    Hi,

    You are right !
    This is the tools I am using on my Android Phone that give this wrong MAC (+1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions