2014-07-07 12:45 PM
Hi,
1. I am using SOCKETS to make big file upload from my device from server. I have 2 questions:a) What is maximum buffer size in module for SOCKET? It seems about 1K. After it makes unstable in operationb) What is maximum speed of upload using sockets? I am acheaving 5-10 Kb/sec. It is too slow for me.I send 800 bytes in socket. Wait for OK. Then send next part. Sometimes I see delays/timeouts about 1.5s while awaiting ''OK'' from module. Or there is no OK at all. What's reason?FW version = 140128-caf4b79-SPWF01S2. I am single developer (not a company). My distributor ignored me. Can you push them to send me fresh FW? Compel, Saint-Petersburg, Russia. My mail dimitrybulkin@yandex.ru #wi-fi2014-07-08 12:45 AM
Hi,
since Release 3.0 (2014-04-17), socket buffers are up to 4Kb. Buffers > 4Kb are splitted in 512b chunks.Before any discussion, I have to ask you to try with a newer Release. I'm sorry for your distributor. I'll try to push you, if possible for me.Anyway, you can also try to use higher baudrate (I'm guessing you are using 115200bps).Lastest Firmware, + 921600bps (also without flow control), I'm sure you can reach higher and higher throughtput ;)Last but not the least: TCP or UDP?ciaojerry2014-07-08 06:38 AM
Hello
Yes it is TCP. I am working withy PHP page in webserver; My distributor do not want help me because they are working only with companies. They are do not work with persons. Maybe you can help me somehow? Thanks!2014-07-08 07:36 AM
I've sent an email to the right ST person.
If you will not have a reply from Compel in a few days, I'll give your contact directly to ST people.Sorry, but I have no directly visibility of Russia distributors.Waiting for your feedback about Compel...Ciaoj2014-07-08 12:10 PM
Ok Thank you very much
BTW, why ST do not post FW in website?2014-07-08 11:13 PM
FW post on website was already planned at the end of June, but (due to technical/server updates) was postponed. Hope for the end of July.
2014-07-09 10:20 AM
Thanks, Compel is sent FW to me and I am updated it in module Now work about my FW to test updated speed...
2014-07-10 05:14 AM
Good news!
2014-07-10 01:06 PM
Yes, but speed is the same. Tommorow I will try open SOCKET on another uart of module and send data trough uart directly
2014-07-11 03:02 AM
What do you mean with ''speed is the same?''. Using, for example, 921600 in place of 115200 as baudrate, you have to notice higher performance.
In attach a Python script, helping you to better evaluate WiFi module. If you are using an evaluation board (SPWF01S + PC), you can use script commands like: - ''setvar variable'' to change baudrate - ''sockopen'' to open a socket - ''sockwrite localfile'' to send a file stored into PC ciao jerry ________________ Attachments : SPWF01S_shell.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1Pi&d=%2Fa%2F0X0000000bmh%2FHbFPgW.NJlLVpKCC6U6ZjnErKxqS70wV6XmH4ki4mkg&asPdf=false