Hi, there
As shown in the figure, my program sent 2048 bytes every second automatically, but only the first packet are received correctly by esp8266. And as is observed data was sent before esp8266 echo back 'ok', although the I received "send ok" after that. An instant question for this is: how long does it take for esp8266 to execute the command? and how long will it cost for esp8266 to send all these 2048 bytes of data? Another question based on this observation is why esp8266 only received 1965 bytes of data while the actual amount of data sent via serial port to esp8266 is 2048 bytes?
>> AT Command and Data sent
>> Data received at TCP Server
Cheers,
WL
ESP8266 does not receive data correctly
Re: ESP8266 does not receive data correctly
Postby pratik » Thu Mar 30, 2017 12:44 am
Are you using the latest AT command firmware?
Also, what happens if you send the 2048 bytes as packets of 2 x 1024 bytes packages?
I would recommend using shorter send lengths as long packets may take time to send if network conditions are not good (retransmisisons).
Also, secure connections will have limits on how much data you can send at a time.
Are you using a secure connection?
Also, what happens if you send the 2048 bytes as packets of 2 x 1024 bytes packages?
I would recommend using shorter send lengths as long packets may take time to send if network conditions are not good (retransmisisons).
Also, secure connections will have limits on how much data you can send at a time.
Are you using a secure connection?
Who is online
Users browsing this forum: No registered users and 176 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.