Hello.
I am trying to use a chip with a SIM900 connected to an Arduino in order to send an HTTP request to a server. However, I am having some trouble establishing the connection.
Here are some outputs from AT commands that I am using in order to get some insight on what may be going wrong.
--------------------------
AT
OK
--------------------------
AT+CMEE=1
OK
--------------------------
AT+CSQ
+CSQ: 21,0
OK
--------------------------
AT+CREG?
+CREG: 0,0
OK
--------------------------
ATI
SIM900 R11.0
OK
--------------------------
AT+COPS?
+COPS: 0
OK
--------------------------
AT+COPS=?
+COPS: (3,"CLA","","72431"),(1,"Claro","Claro","72405"),(1,"TIM BRASIL","TIM","72403"),,(0,1,4),(0,1,2)
OK
Here is what happens when I try to do the HTTP request:
AT
OK
--------------------------
AT+CMEE=1
OK
--------------------------
AT+SAPBR=3,1,"Contype","GPRS"
OK
--------------------------
AT+SAPBR=3,1,"APN","zap.vivo.com.br"
OK
--------------------------
AT+SAPBR=3,1,"USER","vivo"
OK
--------------------------
AT+SAPBR=3,1,"PWD","vivo"
OK
--------------------------
AT+SAPBR =1,1
+CME ERROR: 3
--------------------------
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
--------------------------
AT+HTTPINIT
OK
--------------------------
AT+HTTPPARA="CID",1
OK
--------------------------
AT+HTTPPARA="URL","httpbin.org/post"
OK
--------------------------
AT+HTTPDATA=9,100000
DOWNLOAD
OK
--------------------------
AT+HTTPACTION=1
OK
+HTTPACTION:1,601,0
--------------------------
AT+HTTPREAD
OK
--------------------------
AT+HTTPTERM
OK
As you can see, the HTTP requisition is not being completed succesfully and is getting the error 601. Does anybody have any idea how I may solve this problem?
Thanks in advance.