Can ESP-IDF use a randomised MAC address?
Posted: Wed Sep 15, 2021 4:48 pm
Hi,
I see that a base MAC address is burned into the efuse block by Espressif, and the MAC addresses for each interface are derived from the base MAC address. It is possible to customise the base MAC address by setting your own settings to the efuse block.
However, many devices now randomise the MAC address to increase privacy and prevent tracking. Is this possible to achieve with ESP-IDF? I don't see any API to randomise the MAC address. I could generate a random MAC address, but then I don't see any API to pass a MAC address to the network stack, only to burn to the efuse block.
Thanks for your advice in advance,
Andy
I see that a base MAC address is burned into the efuse block by Espressif, and the MAC addresses for each interface are derived from the base MAC address. It is possible to customise the base MAC address by setting your own settings to the efuse block.
However, many devices now randomise the MAC address to increase privacy and prevent tracking. Is this possible to achieve with ESP-IDF? I don't see any API to randomise the MAC address. I could generate a random MAC address, but then I don't see any API to pass a MAC address to the network stack, only to burn to the efuse block.
Thanks for your advice in advance,
Andy