Hi guys,
As the esp8266's SEND command can only send 2048 bytes each time.
When receive a http request, how can I send a picture bigger than 2048 bytes?
I try send it via 2 SEND commands, but failed.
Esp8266 work as a server to send multiple packet
-
- Posts: 1
- Joined: Tue Jul 19, 2016 2:37 pm
Esp8266 work as a server to send multiple packet
Postby riddickhou » Tue Jul 19, 2016 2:42 pm
Re: Esp8266 work as a server to send multiple packet
Postby pratik » Thu Jul 21, 2016 12:39 pm
Hello,
Which send command are you using?
Did you try AT+CIPSENDBUF command to send multiple blocks one after the other?
Which send command are you using?
Did you try AT+CIPSENDBUF command to send multiple blocks one after the other?
Re: Esp8266 work as a server to send multiple packet
Postby Ping » Wed Sep 13, 2017 7:01 pm
I need to know this urgently too!
Suppose I can break the data into multiple packet of 2048 or less bytes, I send the first one: AT+CIPSEND=chn id, 2048, check OK and then 2048 bytes data and wait for SEND OK, and then repeat the process until all packet is gone and then send (AT+CIPCLOSE) to close the channel?
How about 20ms interval in between, it can be reasily over 20ms if I have to wait for the response.
thanks for any responses.
Ping
Suppose I can break the data into multiple packet of 2048 or less bytes, I send the first one: AT+CIPSEND=chn id, 2048, check OK and then 2048 bytes data and wait for SEND OK, and then repeat the process until all packet is gone and then send (AT+CIPCLOSE) to close the channel?
How about 20ms interval in between, it can be reasily over 20ms if I have to wait for the response.
thanks for any responses.
Ping
Who is online
Users browsing this forum: No registered users and 63 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
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- 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.