WiFi STA link status up or down callbacks

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

cross mob
Anonymous
Not applicable

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?

0 Likes
4 Replies