I'm playing with HTTP GET and POST methods and I have problem. My problem is next one: Last week my GET method was work perfect and then suddenly stop working. Problem occur because MCU can't got response in this format: 0,200,xxx. Code is identical 100%. MCU always got this response: 0,603 (DNS error). Next commands and responses I send/receive to/from SIM800l:
Signal strength | at command: AT+CSQ | response +CSQ: 20,0
Full functionality | at command: AT+CFUN=1 | response OK
If bearer is open send | at command: AT+SAPBR=0,1 | response OK
Otherwise do nothing
Set bearer for gprs | at command: AT+SAPBR=3,1,"CONTYPE","GPRS" | response OK
Set APN | at command: AT+SAPBR=3,1,"APN","internet" | response OK
Set USERNAME | at command: AT+SAPBR=3,1,"USER","telenor" | response OK
Set PASSWORD | at command: AT+SAPBR=3,1,"PWD","gprs" | response OK
Is bearer opened | at command: AT+SAPBR=2,1 | response +SAPBR: 1,3,"0.0.0.0"
Open bearer | at command: AT+SAPBR=1,1 | response OK
Init http | at command: AT+HTTPINIT | response OK
Enable SSL | at command: AT+HTTPSSL=1 | response OK
Set profile identifier | at command: AT+HTTPPARA="CID",1 | response OK
Set url | at command: AT+HTTPPARA="URL","https://mondo.rs/" | response OK
Set GET action | at command: AT+HTTPACTION=0 | response 0,603,0
When I got this response I send again same at command, and result is same (sometimes response from SIM800l is 0,604,0). I use laboratory psu ( which is stable and enough for SIM800l).
Stiil I can send SMS, read all messages,.. without problem. What can be problem?
I find solution for problem, mainly sim800l need firmware upgrade.
Follow steps:
Don't forget that this module is 2G and receiving characters from modern https web-site will take some time (a few tenths of a second).