-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to change STATION MAC address when using SOFT_AP #8554
Comments
esp8266-Arduino core v3.x still uses esp8266 nonos-sdk firmware v2.x |
This firmware function might not change anything because mac addresses are stored elsewhere when using lwip2 compared to lwip1.4, which was an option until esp8266 arduino core 2.7. |
About AP, what I can say so far is that this:
has never changed anything but overwrites
|
Does it depend AP interface being 'UP'? |
You got it right @mcspr. WiFi.mode(WIFI_AP_STA);
wifi_set_macaddr(SOFTAP_IF, newMACAddressAP);
wifi_set_macaddr(STATION_IF, newMACAddressSTA);
...
WiFi.begin(ssidExt, password);
WiFi.softAP(ssid, password);
|
I have some old ESP8266 NOOS CODE that works but goes buggy after a few days. I want to port this to arduino as this uses 3.x of the SDK and I have an old 2.0 version of the NO OSSDK. In the old code I can randomize both the STATION and SOFT AP at the same time. But in this sketch only the first one is chnaged the station MAC doesn't change
The text was updated successfully, but these errors were encountered: