Hello everyone,
I am struggling to obtain ESP8266 and ESP32 mac address.
There are multiple ways to obtain it:
WiFi.macAddress()
esp_read_mac()
//for which you need to specify an interface- ...
esp_efuse_mac_get_default()
seems to get the factory assigned mac address of the chip.
I can't make esp_... functions work in Arduino IDE. I can't include esp_system.h
neither.
How to make those work in Arduino IDE?
Thank you for your help,
Have a good day!
2 posts - 2 participants