rejoining network fails - What is correct procedure?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
grphc_1578046
Level 4
Level 4
10 likes received First like received First like given

In our code we check to see if the Stations (WICED Platform) connection to the Access Point has failed. If it has we continue to reattempt to connect to the AP again.

When the network reports that it is back up we find that there is no IP connectivity (Pings continue to fail to the device)

This is the code we use

    if( !wiced_network_is_up( interface ) ) {

        /*

         * Try and restart

         */

        wiced_network_up(interface, dhcp_type, NULL);

        if( wiced_network_is_up ( interface ) ) {

            printf( "Wi-Fi Network Restarted\r\n" );

            sntp_restart_auto_time_sync(); // Update time from ntp server.

        }

What other function or procedure do we need to use to rejoin the network.

Using 3.4.0 AWS. From memory we did not see this problem in 3.1.2

Thanks

0 Likes
1 Solution

Hi,

We are using the Inventek ISM43341. We have now moved to WICED 3.5.0 and the problem appears to have been resolved.

Thanks

View solution in original post

3 Replies
grphc_1578046
Level 4
Level 4
10 likes received First like received First like given

interface is set to: WICED_STA_INTERFACE

0 Likes

Hi Greg,

We'll try to reproduce the error. Which platform are you using?

0 Likes

Hi,

We are using the Inventek ISM43341. We have now moved to WICED 3.5.0 and the problem appears to have been resolved.

Thanks