How increase data transmission speed to server using AT+CIPSEND command?

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Fri Feb 01, 2019 10:01 pm

Hi to all,
We are using ESP12E version and this interface with external host MCU via UART communication. We are able to send data to server using AT command, the following parameter and data size that we have used in our application.
1. Sending data size: 74Kbytes
2. AT command used: AT+CIPSTART using TCP, AT+CIPSEND, AT+CIPCLOSE.
3. External host MCU UART parameter setting:
Baudrate: 115200
flow control: diabled
parity: 0

For our critical problem is:
We are able to send this all data to server but it taking approx 1 minute for transmitting data to server. This problem is critical for us because our product is battery operated device using 2*1.5V AA size. So battery life is important feature in our application.
Questions:
1. Why this taking too much time for transmission ?
2. Is any other parameter that i need to set in my code, Because we are communicating to ESP12E using AT command through UART?
3. What is the maximum speed for transmission data to server using AT cmd? Is any limitation?
4. Will you please suggest any best solution for increasing transmission speed to reduced this time improve battery life?

Looking forward your response..!!

Thanks....
vsborle

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Tue Mar 05, 2019 3:21 pm

Looking forward your reply/response?
Please suggest any other method or solution.
vsborle

Her Mary
Posts: 394
Joined: Mon Oct 27, 2014 11:09 am

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby Her Mary » Wed Mar 06, 2019 2:11 pm

How about using the UART-WiFi passthrough mode instead?

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Mon Mar 18, 2019 10:23 pm

I have used another method like UART-passthrough mode but still problem. The transmission speed slight improved but not as expected. The speed only has improved 10% which is very less. Will you please tell me Is any having other configuration at server side that i should nee to change.

We are still finding the solution for this problem, and until not get any help form here as well as from other espressif forum also.
I am waiting more for the answer of my question but still not able to give me solution ans well as suggestion for what should i do now?

Can anyone tell what is the maximum speed of ESP12E data transfer to server using AT command.
Is this module that i am using not able to transmit data fast, Should i need to change this module?
vsborle

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Fri May 10, 2019 3:14 pm

Hello to all,

Looking forward for your reply. We have tested the transmission speed using transparent mode this and work as expected. But in this mode will chance to loss packet if internet speed is slow.
So we want to use normal mode with get ack on each packet sending. Will some one please help me for that to increase data transmitting speed to server using AT command.

For my question it almost consumed near about 1 year but still not get answer OR suggest solution form any one.

For you is this my question is very strange and also some one not able to give me any suggestion or solution. Please at lease for this question give me your answer so we can change our WiFi module into different vendor.

Because this is need to do before go for production manufacturing.

Looking forward your response asap very important for us...!!!
vsborle

Her Mary
Posts: 394
Joined: Mon Oct 27, 2014 11:09 am

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby Her Mary » Fri May 10, 2019 3:48 pm

UART-WIFI passthrough mode should not loss packet. Maybe it is the UART that loss packet, you can try to add UART flow control then test it again.
Mine is about 320kpbs @baud rate 420000.

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Fri May 10, 2019 5:08 pm

Thanks for your quick reply,
As you said in UART-WiFi pass-through mode data packet is not loss but this mode is only working if you add delay between sending packet. As our tested result how much delay want to hard-coded in program, In datasheet specified 35ms delay. But this delay not work for us.

When we set 100ms it work but it depend on internet speed, If WiFi module is connected with 2G network speed this set delay not work means not send data to server it stuck and nothing any response from server as well as not from WiFi module.

We will test again with added UART flow control @420000 baudrate, But can you tell me
1. what is the purpose of add delay between sending packets to server.
2. Is this delay is depended on network speed?

Thanks you for ur supporting..!!
vsborle

Her Mary
Posts: 394
Joined: Mon Oct 27, 2014 11:09 am

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby Her Mary » Thu May 30, 2019 5:56 pm

Why should a delay be added? What will happen if there is no delay?
I never add any delay when using the UART-WiFi passthrough mode, just send the data..

vishal.borle
Posts: 8
Joined: Fri Dec 29, 2017 6:29 pm

Re: How increase data transmission speed to server using AT+CIPSEND command?

Postby vishal.borle » Thu May 30, 2019 10:43 pm

Thanks for reply..!!!
If we are not add delay then some packets loss and send all data to server. In our hardware not added RTS and CTS pin so uart flow control is disabled.
Is this problem with that uart flow control disabled.

It would be wonder if you provide me sample example program snippet using UART-Wi-Fi through.

Thanks..
vsborle

Who is online

Users browsing this forum: No registered users and 1 guest