Arduino WiFi Sheild - Aduino lockup


hi all,
i'm using arduino shield , working "wifichatserver" example test out interactive control via tcp/ip.

i've updated firmware latest version - in fact, posted beta arduino software v1.5 beta release see if fixes issues.

but issue after connect/disconnect, arduino locks in 5-15 minutes (i have counter displaying every second).

also, when don't connect @ all, doesn't lock up, after 15 minutes or no longer accept connection request.

if there way reset stack or whatnot after connect/disconnect or reset periodically prevent lockup or no response?

i have r3 uno i'm running on... i'm working on tcp-ip monitoring & contol examples makerplot graphical scada software. working great except issues posted

thanks,
martin

the wifi shield server firmware not stable. has been known weird things, send wrong page client, or send corrupted files. happens when multiple clients trying connect @ same time. code below shows server uses 1 socket, subsequent requests use same socket, , wrong or corrupted file transfers occur.

this show status of wifi sockets. best can you.
code: [select]
#include <utility/server_drv.h>

void showsockstatus() {
 for(int x = 0; x < max_sock_num; x++) {
   serial.print(wifi._state[x]);    
   serial.print("  ");
   serial.print(wifi._server_port[x]);    
   serial.print("  s=");
   serial.print(serverdrv.getserverstate(x));    
   serial.print("  c=");
   serial.print(serverdrv.getclientstate(x));    
   serial.print("  d=");
   serial.println(serverdrv.availdata(x));    
}
}


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Arduino WiFi Sheild - Aduino lockup


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support