chipKIT® Development Platform

Inspired by Arduino™

DWIFIcK blocking on connection after 1st connect

Created Wed, 23 Sep 2015 10:33:47 +0000 by mindtheory


mindtheory

Wed, 23 Sep 2015 10:33:47 +0000

Hi guys,

I'm having an issue with DWIFIcK blocking while connecting to a wifi network if it's already been connected to a network. The first call to connect() works fine and my loop() function is still called while waiting for the connection attempt to complete (checking its status each loop()). However, if I try and connect to a different network, or reconnect to the same one, it blocks on the connect() call and locks up the board until the attempt has completed.

Is there a way around this?

Cheers!


tom21091

Tue, 19 Jan 2016 23:13:53 +0000

Hi Mindtheory,

I found your post among the old unanswered posts and figured I could try to help. I'm sorry nobody has answered you by now, but hopefully we can solve this in case others have the same problem. Have you found a solution? I tried to replicate your problem, but my WF32 connects every time. You might want to try using a newer release of MPIDE if you aren't already.

Tommy