![]() However, it is important to note that after each reboot of the ESP32, the MAC address will revert back to its original value and you will need to include a code to set the custom address every time the ESP32 is reset. A MAC address is usually represented as a string of 12 hexadecimal characters separated by colons, for example: 00:11:22:33:44:55.Īlthough MAC addresses are assigned by manufacturers to devices, we can change them to a custom value. A MAC address is typically assigned by the manufacturer of a device and is stored in the card’s read-only memory (ROM). This use is common in most IEEE 802 networking technologies, including Ethernet, Wi-Fi, and Bluetooth. MAC Address IntroductionĪ MAC address is a unique identifier assigned to each device for use as a network address in communications within a network segment. We will begin by learning how to retrieve the default MAC address and then proceed to change it to a custom value. Setting the custom MAC address of ESP32 becomes very useful in many applications such as enhancing privacy, improving network compatibility, and avoiding address conflicts. ![]() In this tutorial, we will learn how to get and set a custom MAC address of ESP32 using ESP-IDF framework.
0 Comments
Leave a Reply. |