Which address is SID stored
Posted:
Tue Jul 21, 2015 12:35 pm
by steve_carter
I received my unit and in standalone AP mode SID was AITHINKER-LAST3MAC. after I flashed it with blank.bin from 0x7E000 this changed to ESP_LAST3MAC.
I am interested in changing this to my own name just for kicks. Does anyone know the address to do this?
Re: Which address is SID stored
Posted:
Tue Jul 21, 2015 1:41 pm
by martinayotte
You can do this programmatically by using the following (from user_interface.h)
Code: Select allstruct softap_config {
uint8 ssid[32];
uint8 password[64];
uint8 ssid_len; // Note: Recommend to set it according to your ssid
uint8 channel; // Note: support 1 ~ 13
AUTH_MODE authmode; // Note: Don't support AUTH_WEP in softAP mode.
uint8 ssid_hidden; // Note: default 0
uint8 max_connection; // Note: default 4, max 4
uint16 beacon_interval; // Note: support 100 ~ 60000 ms, default 100
};
bool wifi_softap_get_config(struct softap_config *config);
bool wifi_softap_get_config_default(struct softap_config *config);
bool wifi_softap_set_config(struct softap_config *config);
bool wifi_softap_set_config_current(struct softap_config *config);
EDIT : I've also found an example here
http://bbs.espressif.com/viewtopic.php?f=21&t=227