I have been using esp-07 and esp-12 in softap+sta mode but even if I set the parameters of AP, the module just don't appear your SSID configured in my network list. I would like to know if somebody had this kind of problem or something similar, the code that I'm using is:
static char ssid[33];
static char password[33];
static uint8_t macaddr[6];
struct softap_config apConfig;
//wifi_set_opmode(0x3);
os_memset(apConfig.password, 0, sizeof(apConfig.password));
os_sprintf(password, "%s", WIFI_APPASSWORD);
os_memcpy(apConfig.password, password, os_strlen(password));
os_memset(apConfig.ssid, 0, sizeof(apConfig.ssid));
os_sprintf(ssid, "%s", WIFI_APSSID);
os_memcpy(apConfig.ssid, ssid, os_strlen(ssid));
apConfig.authmode = AUTH_WEP;
//apConfig.authmode = AUTH_WPA_WPA2_PSK;
//apConfig.authmode = AUTH_OPEN;
apConfig.channel = 7;
apConfig.max_connection = 10;
apConfig.ssid_hidden = 0;
wifi_softap_set_config(&apConfig);
wifi_softap_dhcps_start();
switch(wifi_softap_dhcps_status())
{
case DHCP_STOPPED:
INFO("\nDHCP Server parou!\n");
break;
case DHCP_STARTED:
INFO("\nDHCP Server foi iniciado!\n");
break;
}