hello,
i am having some troubble since i don't understand how i should make a client request.
I am using an esp01 with AT commands, and i am trying to control a GoPro camera
i am able to connect to it using:
AT+CWMODE=1
AT+CWJAP="Saiken-GoPro","password"
AT+CIPMUX=0
AT+CIPSTART="TCP","10.5.5.9",8080
then i should tell to the gopro that i am sending a request with:
AT+CIPSEND=x
and here my doubts starts:
- do i have to put a "GET " if front of the request?
- do i have to terminate it with "HTTP/1.0" or "HTTP/1.1" of just the "\r\n?
- can i write more bytes than needed and then stop the request with "AT+CIPCLOSE"?
- i have seen people also use this at the end of the client request: "Connection: close" is this correct?
this is my request by the way: "http://10.5.5.9/bacpac/SH?t=password&p="
any help and example will be very useful