Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] [problem] AT+CGATT makes my modem unable to send SMS

Status
Not open for further replies.

saesaria

Member level 1
Joined
Jun 13, 2011
Messages
34
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Indonesia
Activity points
1,538
Hi!
I tried the sequence of AT-commands to connect to GPRS (you can see on https://www.edaboard.com/thread217319.html)

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.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top