Chat freely about anything...

User avatar
By Lonwalker25
#72459 I have been working to implement a web server application on my MCU board to implement a web server utilizing AT commands on an integrated ESP8266 module.

After successfully; getting general text and hyper links displayed on a web client with my application and parsing an HTML 'Get' requests for standard HTML data- When I try and reply with the requested graphic file when it requests the first one, the file I try and send does not get recognized by the client browser which does not display the graphic hanging up basically 'times out' its a failure to see image data I am trying to send.

I have searched everywhere I can to find an examples of transferring a binary data files in a web server.

I struggle with the manual to know what I should use AT+CIPSEND, AT+CIPSENDEX, AT+CIPSENDBUF!?!

CIPSEND can only be used in single connection mode

CIPSENDEX looks to start transmission after a \0 is seen (that "\0" or a 0 value NULL byte? This would not be good if the binary file data actually has that sequence.

CIPSENDBUF looks to sends a 'block' of data regardless its contents; however- appears only good for TCP/IP
transmissions and then also you have this segmenting number thingy I just don't quite understand how I am suppose to implement correctly.

Addtionally, I would like to my server application to process and handle a UDP connection at the same time as a web server connection; for use for backdoor configurations. Therefore, I think I have to have AT+CIPMUX=1

H-E-L-P!!!! Anyone know what route I should be going OR if there is an opensource application somewhere that is doing what I am wanting to do.

All the webserver applications I have seen don't serve up Graphic files.

Thanks in advance!