Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15758

Using esp_efuse_mac_get_default() in IDE 2.X to get ESP8266/ESP32 MAC address

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 15758

Latest Images

Trending Articles



Latest Images