Hi,
I will set MAC address of Soft-AP and Station with wifi_set_macaddr API.
Station's one could be set, but Soft-AP's one could not be set.
Return value of wifi_set_macaddr( SOFTAP_IF, my_mac_address ) in user_init() is false.
I'm using SDK ver.1.2.0.
Please confirm it.
Cannot set MAC address of Soft-AP
Re: Cannot set MAC address of Soft-AP
Postby ESP_Faye » Wed Jul 15, 2015 10:25 am
Hi,
Please call wifi_set_opmode to enable ESP8266 soft-AP first.
If your problem is still unsolved, please provide your test code, we will have a try.
Thanks for your interest in Espressif Systems and ESP8266 !
Please call wifi_set_opmode to enable ESP8266 soft-AP first.
Code: Select all
char sofap_mac[6] = {0x16, 0x34, 0x56, 0x78, 0x90, 0xab};
wifi_set_opmode(STATIONAP_MODE); // station + softAP mode
wifi_set_macaddr(SOFTAP_IF, sofap_mac);
If your problem is still unsolved, please provide your test code, we will have a try.
Thanks for your interest in Espressif Systems and ESP8266 !
Who is online
Users browsing this forum: No registered users and 85 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.