-->
Page 1 of 1

Does the SSID have to be set after each power cycle?

PostPosted: Sat Apr 25, 2015 4:01 am
by dayzman
Does the SSID have to be set each time after a power cycle? Is there a way to store make the SSID + key persistent?

Thanks!

Re: Does the SSID have to be set after each power cycle?

PostPosted: Sat Apr 25, 2015 8:01 am
by CheapB
dayzman wrote:Does the SSID have to be set each time after a power cycle? Is there a way to store make the SSID + key persistent?

Thanks!


it is persistent unless you have code to set/reset it.

Re: Does the SSID have to be set after each power cycle?

PostPosted: Fri May 01, 2015 11:22 am
by bnvs
I didnt think the SSID is persistent. I think you have to provide that info from the init.lua file right? However, you can erase the init.lua file so there will be nothing on the chip hence it cannot be persistent. Correct me if I am wrong.

Re: Does the SSID have to be set after each power cycle?

PostPosted: Fri May 01, 2015 12:01 pm
by cal
Moin,

the data is indeed persistent.
It's stored by the software the lua runtime is build on. Seems to be 8k in the 7e000 area of the flash

If I download that area with esp being in flash mode:


tools/esptool.py --port /dev/ttyUSB0 read_flash 0x7e000 8192 7e000.bin

the file 7e000.bin does contain ssid and password of my wlan.

Cal