RTOS SDK 1.4 Can't connect wifi

vaibhav93
Posts: 1
Joined: Mon May 16, 2016 4:09 am

RTOS SDK 1.4 Can't connect wifi

Postby vaibhav93 » Mon May 16, 2016 4:27 am

Module
ESP-01 512KB

Where all seems to work fine in RTOS v1.3, I am not able to connect to wifi in 1.4,

Code: Select all

405328> no 502_SBC found, reconnect after 1s
405429> reconnect

comes repeatedly.
I know the code is correct and bssid is also set to 0 like here http://bbs.espressif.com/viewtopic.php?f=31&t=228

In short, the smart_config example works in 1.3 and doesn't in 1.4

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

Re: RTOS SDK 1.4 Can't connect wifi

Postby ESP_Faye » Wed May 18, 2016 5:39 pm

Hi,

Sorry that we can not reproduce your problem.
Could you provide your test code for debugging ?
Here is our test code.

Code: Select all

void user_init(void)
{
    printf("SDK version:%s\n", system_get_sdk_version());

    /* need to set opmode before you set config */
    wifi_set_opmode(STATIONAP_MODE);

    struct station_config *config = (struct station_config *)malloc(sizeof(struct station_config));
   bzero(config, sizeof(struct station_config));
        sprintf(config->ssid, SSID);
        sprintf(config->password, PASSWORD);

        /* need to sure that you are in station mode first,
         * otherwise it will be failed. */
        wifi_station_set_config(config);
        free(config);

}

Who is online

Users browsing this forum: No registered users and 13 guests