Page 1 of 1

ESP32 mac address does not match LightBlue displayed address

Posted: Tue Feb 01, 2022 6:03 am
by zazas321
I use esp_efuse_mac_get_default to read the ESP32 mac address:

Code: Select all

    esp_efuse_mac_get_default(mac_base); 
    for(int i = 0; i <6;i++){
        printf("mac[%i]=%x\n",i,mac_base[i]);
    }
And the output is:

Code: Select all

mac[0]=94
mac[1]=3c
mac[2]=c6
mac[3]=1
mac[4]=1f
mac[5]=a0
So the device mac address is 94:3C:C6:10:1F:A0

However, when I connect to this ESP32 device via BLE on lightBlue App on mobile phone, it says slightly diffrerent MAC address (See the Lightblue screenshot from my phone).


I have tried with multiple other ESP32 devices and it seems that it is always the last mac address digit that is different and lightblue app always display the last digit +2.

For example if my ESP32 mac address last digit is A0, the lightblue app will display A2.

Has anyone else noticed this issue? Is this problem with LightBlue?

Re: ESP32 mac address does not match LightBlue displayed address

Posted: Tue Feb 01, 2022 6:21 am
by WiFive

Re: ESP32 mac address does not match LightBlue displayed address

Posted: Tue Feb 01, 2022 6:28 am
by zazas321
Thank you very much for pointing this out.. I have missed this somehow