hi espressif,
I tried change the MAC address of esp8266 with this both functions of RTOS SDK:
bool wifi_get_macaddr(uint8 if_index, uint8 *macaddr);
bool wifi_set_macaddr(uint8 if_index, uint8 *macaddr);
I set a new MAC address to both (STATION_IF and SOFTAP_IF) , with the function wifi_set_macaddr and i use wifi_get_macaddr to verify if it really change. I succeeded.
Then, i tried discover the MAC address in my computer with command "arp -a" at cmd. The result is the default MAC address.
Anyone have any idea what it can be?
how can I change the MAC address of esp8266?
-
- Posts: 1
- Joined: Tue Nov 29, 2016 1:41 am
Re: how can I change the MAC address of esp8266?
Postby pratik » Wed Nov 30, 2016 10:37 pm
Hi!
Seems like the connection is being "remembered" by your computer and so it does not detect a change in MAC. (devices are not supposed to change MAC!).
Please "forget" the network and try again... and let me know if that helped!
Seems like the connection is being "remembered" by your computer and so it does not detect a change in MAC. (devices are not supposed to change MAC!).
Please "forget" the network and try again... and let me know if that helped!
Who is online
Users browsing this forum: No registered users and 58 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.