wiced_network_down(WICED_STA_INTERFACE) return error = 4

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

cross mob
hoainguyen265
Level 3
Level 3
5 likes given 25 sign-ins 10 replies posted

After join AP successfully with

wiced_join_ap_specific
wiced_ip_up

I want to leave and join with another AP by calling

wiced_ip_down

But i alway get error = 4 as return code. The error message is "Could not delete IP instance" so this is where i got the error code return in wiced_ip_down function

Screen Shot 2021-12-20 at 15.37.52.png

I want to know that how can i leave and join another AP in proper way?

I use CYW54907 with Wiced studio 6.6.

 

0 Likes
1 Solution

Hi @hoainguyen265 ,

Your solution is correct, deinitializing http connection or mqtt client before calling wiced_network_down is perfect method.

Thanks,

Rakesh B G

View solution in original post

0 Likes
5 Replies