TCP Server Send Data Period

lujinming
Posts: 1
Joined: Mon Jun 29, 2020 9:41 am

TCP Server Send Data Period

Postby lujinming » Mon Jun 29, 2020 10:09 am

Hi,all
I have set a tcp server.It waits tcp client to connect.If a tcp client connects, server send data(10 bytes) to client every 10ms by AT+CIPSEND.But I found after I sent the AT+CIPSEND and wait SEND OK response, it get 46ms, how can I improve the time, it doesn't work when i improve the USART baudrate.It seems the at software delay the data to send. And more, what's the difference between AT+CIPSEND and AT+CIPSENDBUF ? I don't get the information. Expect your answer, thanks a lot.

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

Re: TCP Server Send Data Period

Postby Her Mary » Tue Sep 22, 2020 11:42 am

Is it a new project? If it is, maybe you can try the new ESP-AT. https://github.com/espressif/esp-at

Who is online

Users browsing this forum: No registered users and 2 guests