4 Replies Latest reply on Apr 21, 2016 6:03 PM by als_1964561

    WiFi STA link status up or down callbacks

    mkochhal

      On WICED-SDK-3.5.1, I see that the callbacks for up or down are not working reliably.

       

      for snip.link_status: after you register callbacks and bring up STA.

       

          /* Register callbacks */

          wiced_network_register_link_callback( link_up, link_down, WICED_STA_INTERFACE );

       

       

          /* Bring up the STA (client) interface ------------------------------------------------------- */

          wiced_network_up( WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL );

       

          /* Initialise semaphore to notify when the network comes up */

          wiced_rtos_init_semaphore( &link_up_semaphore );

       

      I see that when you bring the AP down, the link down status callback only gets pushed out to subscribers upon a subsequent bring up of the AP?