Search code examples
at-commandcellular-networkadafruit

SIM808 Error 601 Network Error


I am using the SIM808 module with a sim card on the Ting network. I keep getting the 601 error when trying to post data to a website. What am I doing wrong. The AT commands I am sending are below responses begin with >

AT+CREG?
>+CREG: 0,1
>OK
AT+CIPSHUT
>SHUT OK
AT+CGATT=1
>OK
AT+SAPBR=3,1,"CONTYPE","GPRS"
>OK
AT+SAPBR=3,1,"APN","wholesale"
>OK
AT+CSTT="wholesale"
>OK
AT+SAPBR=1,1
>OK
AT+CIICR
>OK
AT+SAPBR=2,1
>+SAPBR: 1,1,"162.168.167.120"
>OK

AT+HTTPINIT
>OK
AT+HTTPPARA="CID",1
>OK
AT+HTTPPARA="UA","SIMCom_MODULE"
>OK
AT+HTTPPARA="URL","http://posttestserver.com/post.php"
>OK
AT+HTTPPARA="REDIR",1
>OK
AT+HTTPSSL=1
>OK
AT+HTTPDATA=22, 10000
>DOWNLOAD
-->this is post data<--
>OK
AT+HTTPACTION=1
>OK
>+HTTPACTION: 1,601,0
AT+HTTPREAD
>OK

Solution

  • 1:) sim should be activated for data. 2:) if apn has password and username they also should be passed before using

        at+sapbr=1,1
    

    3:) if required before at+sapbr commands the first command try

        at+sapbr=0,1 
    to de-activate bearer profile.