Ask about Wifi Connection Time

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

cross mob
Anonymous
Not applicable

I have a issue in  the function wiced_network_up(). It take long time( abt 4s -> 14 seconds) to connect successfully.

And I see that it take so much time because it must wait for the IP to be ready.

The flow as below

pastedImage_0.png

So we would like to know is there any way to improve waiting time of IP ready ?

0 Likes
5 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

     thanks for the detailed pic,   nx_ip_status_check occupied much time during the process. 

now I can only suggest you if you didn't use IPV6,  you can disable IPV6 address process, that will save some time.    please delete the "wiced_init_autoipv6(interface)"  in function wiced_ip_up  and have a try .

Anonymous
Not applicable

Hi zhez​,

I tried to disable Ipv6 in wiced_ip_up but the connection time still can not reduce .

Do you have any suggestion for this issue ?

0 Likes

Hi:

   wiced_init_autoipv6 , this will save the total up time. but for nx_ip_status_check still have no better way to save the time.

0 Likes

Did you try compare with other RTOS+network stack builds?

e.g.

ThreadX_NetX

FreeRTOS_LwIP

0 Likes
Anonymous
Not applicable

Hi zhez

Right now i'm using Wiced SDK 3.1.2. I think it is using ThreadX and NetX.

About FreeRTOS and LwIP i haven't tried and have no idea about this .

0 Likes