wifi_set_macaddr persistent

geo.espressif
Posts: 28
Joined: Tue Mar 31, 2015 7:27 pm

wifi_set_macaddr persistent

Postby geo.espressif » Wed Feb 03, 2016 6:34 pm

Hey all,

When I use wifi_set_macaddr, and then reboot (hold reset line for a bit), it seems that the mac addresses revert to their original values.

Is this normal?
Is it possible to set them persistently?

Thanks!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: wifi_set_macaddr persistent

Postby ESP_Faye » Thu Feb 04, 2016 10:27 am

Hi,

Sorry that wifi_set_macaddr will not be saved into Flash by default.

But you can program it by yourself, save the configuration into flash, then read it from flash and call wifi_set_macaddr to set it.

Thanks for your interest in ESP8266 !

geo.espressif
Posts: 28
Joined: Tue Mar 31, 2015 7:27 pm

Re: wifi_set_macaddr persistent

Postby geo.espressif » Thu Feb 04, 2016 10:01 pm

Roger, thanks!

Who is online

Users browsing this forum: No registered users and 16 guests