[Summary of the test]
As part of the test, the esp8266 works as a client, sending data, continuously, to the TCP server, we need to determine how fast esp8266 is to send the data. We set an expected data transmission rate using our software, for example, 2048 bytes/ms, the software will send a string of 2048 bytes every 1 ms via serial port, using AT Commands. Following are the questions that really puzzled me:
 what is the difference between AT+CIPSENDBUF and AT+CIPSENDEX, it seems both of them start to send data when the data length is meet. Besides what stated in the AT commands reference(the pdf file), can you explain a little bit further?
 for AT+CIPSENDBUF and AT+CIPSENDEX, which is faster?
 Is there any restrictions on time interval between two data packets, or two AT commands?
 In our test, the performance of data transmission is only 5-6 kbps, which is really slow. Is it possible to send data at a higher rate, say 18-20kbps, using AT command?
For sending 2048 bytes a millisecond, you need to send 20480 bits a millisecond, i.e. 20,480,000 bauds! without even considering a processing a overhead.
To send data faster, use transparent transmission mode or use the SDIO/SPI interface for AT commands. That allows much faster transfer speeds.
AT+CIPSENDBUF is faster as you can fill in buffers to send data when when data is being sent out. SENDEX actually adds processing overhead because the ESP8266 needs to look for the termination combination. However, SENDEX can be faster for smaller blocks of data. It really depends on the application...
Who is online
Users browsing this forum: Bing [Bot] and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!