Error + HTTPACTION: 0.601.0

I am trying to access a website using the sim900 GSM module. This is a list of commands.

AT+CSQ      
+CSQ: 16,0          

OK  
AT+HTTPINIT           
OK  
AT+HTTPPARA="CID",1                   
OK  
AT+HTTPPARA="URL","www.google.com"                                  
OK  
AT+HTTPACTION=0               
OK  

+HTTPACTION:0,601,0                         

AT+HTTPACTION=0
OK

+HTTPACTION:0,601,0

Unable to access Google. 601 shows a network error. How to get rid of this error?

+5
source share
6 answers

You need to configure the connection to the channel. Here are the minimal setup commands that worked for me (based on trial / error and search on the web).

AT+SAPBR=3,1,"APN","wap.cingular"
AT+SAPBR=1,1

The correct value for APN may vary for you, depending on your network and service provider. I use AT&T prepaid SIM cards. After that, you can execute the HTTP configuration commands, as you already ...

AT+HTTPINIT
AT+HTTPPARA="URL","http://www.google.com"
AT+HTTPACTION=0

600 ( 500) HTTP. AT- SIM908 HTTPACTION:

600 Not HTTP PDU
601 Network Error
602 No memory
603 DNS Error
604 Stack Busy

CID 1 AT+SAPBR=2,1 AT+SAPBR=4,1. , GPRS AT+CGATT?. , , 601, , . , , , 601, . SIM , , (AT+SAPBR=0,1, AT+SAPBR=1,1), HTTP* HTTPPARA HTTPINIT.

+12

, , HTTP- - https, 601 . - ssl, . AT + HTTPSSL =? . ssl "HTTPSSL 1". , ssl. factory.

ssl-. ssl wifi101.

fona.setHTTPSRedirect(); Dy3

+2

. , . .

+1

.

, , 200 , IP-, , - , (AT+CIPPING="XX.XX.XX.XX").

: AT+SAPBR=2,1 AT+CIFSR. .

, / AT+CIPCSGP=1, "yourapn.com", "user", "password".

, . .

0

- 4 : "", - .

I could connect to the network, but when I tried to use HTTP over GPRS networks, I received a return code of 601 (network error) or 603 (DNS could not be resolved).

As soon as I replaced the antenna with a new one, everything worked perfectly.

0
source

Change the URL. 601 - URL has been moved. Is a redirect.

-3
source

All Articles