saesaria
Member level 1

Hi!
I tried the sequence of AT-commands to connect to GPRS (you can see on https://www.edaboard.com/threads/217319/)
when I detach from GPRS (change CGATT value to 0), then the LED indicator of my modem is freezing. After doing the sequence of AT-commands, I can't send SMS anymore by using AT+CMGS, it always gives me +CMS ERROR 512.
I think my procedure to detach from the GPRS is wrong. The CGATT is still 1 after I re-powering the modem.
Is there anyone here can share the way to solve it?
thanks.
I tried the sequence of AT-commands to connect to GPRS (you can see on https://www.edaboard.com/threads/217319/)
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 AT+CGATT=1 OK AT+CGDCONT=1,"IP","INTERNET";+CGDCONT=1,"IP","3gprs" OK AT+WIPCFG=1 //START IP STACK OK AT+WIPBR=1,6 // OPEN GPRS BEARER OK AT+WIPBR=2,6,11,"3gprs" //SET APN NAME OK AT+WIPBR=2,6,0,"3gprs" //SET USERNAME OK AT+WIPBR=2,6,1,"3gprs" //SET PASSWORD OK AT+WIPBR=4,6,0 //START GPRS BEARER OK AT+WIPCREATE=2,1,"www.google.com",80 //CREATE TCP CLIENT OK +WIPREADY: 2,1
when I detach from GPRS (change CGATT value to 0), then the LED indicator of my modem is freezing. After doing the sequence of AT-commands, I can't send SMS anymore by using AT+CMGS, it always gives me +CMS ERROR 512.
I think my procedure to detach from the GPRS is wrong. The CGATT is still 1 after I re-powering the modem.
Is there anyone here can share the way to solve it?
thanks.