How do I get the MAC address of my esp32-s3 on Arduino IDE?

Jim_Stuart
Posts: 9
Joined: Wed Aug 14, 2024 12:10 am

How do I get the MAC address of my esp32-s3 on Arduino IDE?

Postby Jim_Stuart » Fri Aug 23, 2024 12:40 am

Hello,

What code do I need to run in order to get the MAC address of my ESP32S3? Are there any additional steps I need to perform on my physical ESP32 as well?

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: How do I get the MAC address of my esp32-s3 on Arduino IDE?

Postby lbernstone » Fri Aug 23, 2024 6:51 am

You can get the default MAC address of the device with ESP.getEfuseMac()
You can get the WiFi MAC address with WiFi.macAddress()

Who is online

Users browsing this forum: No registered users and 134 guests