cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF01SC.11 send data to Server by TCP Socket.

Khoa Tran
Associate II
Posted on March 27, 2015 at 09:51

I use SPWF01SC.11to send data to server (about 6KB every 4 minutes).I split data to 2 packages (3KB each package) then send to server by TCP Socket.But sometime 1 package is lost.

Can anyone help me to solve this problem?My mail is 

mailto:khoatran@digisensor-co-ltd.com

 </span>

Thank you.

Tran Khoa.
13 REPLIES 13
Posted on April 07, 2015 at 09:35

Hi,

since a long time I tried with different STM32Fx and STM32Lx and others, and I never experienced a behavior like this.

I always use also PC scripts (bash, pyton, etc), without any problem.

Module is able to catch bytes up to 921600 baudrate, with and without flow control.

I can only assume that module is not really receiving 5 bytes when your printf sends out 5 bytes. Check your STM32 application (before), and use an oscilloscope (also) to be sure that STM32 is really sending 5 bytes.

There is an application note, with related firmware package running on

STM32F0DISCOVERY

. If you want, you can use that package as reference ( http://www.st.com/web/en/catalog/tools/PF260583 )

j

Khoa Tran
Associate II
Posted on April 08, 2015 at 02:33

Thank you.

I will try it.

Khoa Tran
Associate II
Posted on April 17, 2015 at 03:28

Hi,

Is FW3.4 available?

Posted on April 17, 2015 at 08:56

Yes, it was released.

Contact your ST local support.