Code: Select all
AT+HTTPINIT
AT+HTTPPARA=\"URL\",\"http://abc.com/xyz.hex"
AT+HTTPPARA=\"CID\",1
AT+HTTPACTION=0
wait for +HTTPACTION" response
After the last command, i'm assuming that I would get +HTTPACTION as the resposne, and the download should happen, bunt instead, i get error in connection. Please note that after every command, i'm waiting for about 500ms for 'OK' response