WizFi250 Timeout Settings
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: WizFi250 Timeout Settings
by irina WIZnet ·
Hi, GOHS
Can I get some materials regarding your questions?
→ How did you use the AT command? Did you try like this? ‘AT+FSOCK=1,15000’
If you didn’t, try like that. Or if you did like that, please attach the screenshot to check the DBG messages.
→ I think it is also same things. please try ‘AT+FSOCK=1,20000’ (max.20000ms)
Thanks!
RE: RE: WizFi250 Timeout Settings
by GOHS ·
Hi tom,
thanks for the quick reply.
I used the command like in the Wiki examples
AT+FSOCK=1,10000
and expected a 10 seconds timout, but it remained 5 seconds.
I just tried it once more as You mentioned, just in case…
… manual initialisation, then AP join …
[Link-Up Event]
IP Addr : 192.168.103.42 ← IP from DHCP
Gateway : 192.168.103.254
[OK]
at+fping=5,192.168.103.254 ← ping Gateway
Ping Reply : 40 ms
Ping Reply : 6 ms
Ping Reply : 4 ms
Ping Reply : 4 ms
Ping Reply : 5 ms
[OK]
at+fsock=?
5000,5000,5,100,0,0,0 ← settings at power on
[OK]
at+fsock=1,15000 ← chaged option 1 to 15 seconds
[OK]
AT+SCON=O,TCN,192.168.103.216,5611,1 ← connect to unavailable IP/port
[OK]
… 5 seconds …
[DISCONNECT 0]
at+fsock=?
15000,5000,5,100,0,0,0 ← option 1 ist set as wanted
[OK]
… set up listening server PC running realterm …
at+fsock=1,20000
[OK]
at+fsock=?
20000,5000,5,100,0,0,0 ← option 1 set to 20 seconds
[OK]
AT+SCON=O,TCN,192.168.103.40,5611,1
[CONNECT 0]
[OK]
… sent ‘test’ over Wizfi and received it on PC (realterm) …
… disconnected AP from LAN waited 30 seconds: as expected no change …
… sent ‘t’, then waited ca. 12 (?) seconds until …
[DISCONNECT 0]
In each case the option 1 of FSOCK seems to have no influence on the mentioned timeouts.
Hope this is what You wanted to see.
RE: WizFi250 Timeout Settings
by irina WIZnet ·
Hi, GOHS
I misunderstood some parts.
There is no way to set a TCP timeout value.
As you know, in case of disconnected environment, there is how to reconnect every specific seconds.
I am sorry for this.
Thanks,
RE: WizFi250 Timeout Settings
by GOHS ·
Thanks for the info.
Would be nice if the exact timeouts would be mentioned in the WiFi250 wiki.
Greetings!
RE: WizFi250 Timeout Settings
by phil31 ·
would be nice if the commands list and definitions are right describe and update !