Hi guys!
I need to send relatively big files (50-100kB) using AT+CIPSEND command. Unfortunately, ESP8266 can take only 2kB at once. Is there a way to send such big amount of data? Will a serie of CIPSENDs work? The data is a web application written in HTML and JavaScript.
Sending big files using AT commands
Re: Sending big files using AT commands
Postby pratik » Mon Feb 06, 2017 11:28 am
A series of CIPSEND commands should work fine, as long as the connection does not time out between two CIPSEND commands. Put the connection on keep-alive though, in the initial HTTP header, which should work with virtually all transfers.
The proper way to do this sort of large transfer is to use the AT+CIPSENDBUF command, where you can keep sending stuff into the buffer and ESP8266 will keep transmitting. You can check back on buffer status using command AT+CIPBUFSTATUS.
NOTE: These may not be used for SSL connections
The proper way to do this sort of large transfer is to use the AT+CIPSENDBUF command, where you can keep sending stuff into the buffer and ESP8266 will keep transmitting. You can check back on buffer status using command AT+CIPBUFSTATUS.
NOTE: These may not be used for SSL connections
Who is online
Users browsing this forum: No registered users and 178 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.