[TCP Send Error] explanation ?

phil31
Posts: 88
Joined: Mon Jul 20, 2015 11:29 pm

[TCP Send Error] explanation ?

Postby phil31 » Fri Feb 17, 2017 8:27 am

Hi,

one of our socket is used to send some PUSH TCP request to a server.
configured as "0/TCN/192.168.0.116:80/30789/0"
most of time, all work great !
but some time to time we receive [TCP Send Error] !

AT+SSEND=0,,,818
receive right [0,,,818]
then sometime [TCP Send Error]

what does it mean exactly ? the wiki give not too much information about this answer !

(fw 1.0.5.2)

thanks, regards

cliff
Posts: 76
Joined: Mon Sep 12, 2016 9:42 am

Re: [TCP Send Error] explanation ?

Postby cliff » Fri Mar 03, 2017 10:10 am

Hello,

I'm so sorry for late reply.
If [TCP Send Error] message occurs, it is expected that it occurs because ACK is not received due to timeout in receiving ACK after TCP send.
"TCP send error timeout" is set to 5seconds by defualt.
The following is AT Command "AT+FSOCK" related to this case.
http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250pg:start#at_fsock
Check it and make sure that "AT + FSOCK = 1,0" works well.
For your information, "AT+FSOCK=1,0" is function that wait until you receive ACK.

Thanks, regards.

phil31
Posts: 88
Joined: Mon Jul 20, 2015 11:29 pm

Re: [TCP Send Error] explanation ?

Postby phil31 » Fri Mar 10, 2017 5:53 pm

so what do i need to do when i receive this message ?
just restart the whole process to send again the same documents/data ?
does it closed or modify anything in the TCP socket server ?

thanks, regards

cliff
Posts: 76
Joined: Mon Sep 12, 2016 9:42 am

Re: [TCP Send Error] explanation ?

Postby cliff » Mon Mar 13, 2017 1:08 pm

Hello,

That command is just change the socket setting, so please reopen socket.

Best regards.


Return to 쏻izFi250

Who is online

Users browsing this forum: No registered users and 1 guest