[link-down event], what is best technic?
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: [link-down event], what is best technic?
by wizdaniel ·
Hi,
Are you using the AT+FSOCK=8 command?
When AT+FSOCK=8 option is set, WizFi250 will reboot after link down event itself.
For example.
[quote]at+fsock=?
5000,5000,5,100,0,0,0,0
[OK]
at+fsock=8,1000
[OK]
at+fsock=?
5000,5000,5,100,0,0,0,1000
[OK][/quote]
So, If you want to disable the Socket function about reboot.
Try at command like below.
[quote]at+fsock=?
5000,5000,5,100,0,0,0,1000
[OK]
at+fsock=8,0
[OK]
at+fsock=?
5000,5000,5,100,0,0,0,0
[OK][/quote]
wizwiki.net/wiki/doku.php?id=pro … t#at_fsock
I think it is the best way to reopen the socket among the function of the WizFi250 when there is no socket connected.
RE: [link-down event], what is best technic?
by phil31 ·
i do not at all use AT+FSOCK .
why AT+FSOCK=8, 5 (5 by example) will be better that a hardware reset module ?
more faster ??
if a link is down, is there any chance it will back up during the 5 seconds ?
thanks, regards
RE: [link-down event], what is best technic?
by phil31 ·
well i do some tests :
i set AT+FSOCK=8,5
it seem that yes, after the [link-down event] occurs, there is some [link-up]
so i don’t reset anymore the module.
all seem working, but not !
before any [link-down , yes my browser can access to my wizfi250module
but after, the browser can’t anymore !.. i need to hard reset my board …
did i miss something please ?
thanks
RE: [link-down event], what is best technic?
by wizdaniel ·
Hi,
If FSOCK=8,5 was set, WizFi250 can check the link status every 5 seconds.
And the profile(AT+MPROF=S) must be saved after AT+FSOCK.
RE: [link-down event], what is best technic?
by phil31 ·
Wizdaniel,
what i say is that if i enable the feature, after a [link-down event], the web browsers can’t access anymore to the modules !
even if the [link-up event] occur right, the module seem not communicate anymore !
regards
RE: [link-down event], what is best technic?
by phil31 ·
Hello Team,
does the “AT+FSOCK=6,10” command has any influence when the WIZFI work as TCP server (AT+SCON=O,TCN,192.1…) ?
thanks, regards
RE: [link-down event], what is best technic?
by cliff ·
Hi,
First, when it works as a TCP server, the TCP server is TSN, not a TCN (like this AT+SCON=O,TSN,5000,0).
We assume that it works as TCP server, AT+FSOCK command is not influence that.
When it is TCP client, AT+FSOCK command operates.
Thank you.
Best regards.
RE: [link-down event], what is best technic?
by phil31 ·
Hello
well back with this question then … what is the best technic to manage a link-down event when the Wizfi250 work as TCP server ?
did i reboot the module ?
did i try to re open the socket ?
fw 1.0.5.2
thanks
RE: [link-down event], what is best technic?
by phil31 ·
Hello
please may we know exactly what is the Link-Down event mean ?
i notice a lot of this event without any reason from my side.
the AP is 2 or 3 meters of the module, with good antenna.
and again … what is the best thing to do when we receive this event ?
sometime, the link up arrive “immediately” then i just check if the TCP server is running gain.
but some time the TCP server is not running anymore and the only solution is to reboot the module. which is not really “user friendly” … the web browser of the user may can’t access anymore the the TCP server !
thanks
RE: [link-down event], what is best technic?
by phil31 ·
Hello Team
please, may i get answer on this question ?
the “link-down event” occur several time without visible reasons.
only the TCP server is running on the module and waiting some client request.
even when no client connected, just waiting, i notice this event.
again, the AP is just 3 meters from the module. the RSSI is perfect.
i’m using the 9.0.5.3 firmware, but it’s same with 1.0.5.2 !
1/ what can be the reasons of this event ?
2/ what is the best method to manage this event ? as i say, sometime the TCP server stay open, but some others, i need to reboot the module.
thanks, regards