Problem in GPRS connection


#1

Problem in GPRS connection:

AT+CGMI
WAVECOM MODEM
OK

AT+CGMM
MULTIBAND 900E 1800
OK

AT+CGMR
657c09gg.Q24PL001 1956992 042407 11:29
OK

AT+CLCK=? //------- Supported facility
+CLCK: (“PS”,“SC”,“AO”,“OI”,“OX”,“AI”,“IR”,“AB”,“AG”,“AC”,“FD”,“PN”,“PU”,“PP”,“PC”)
OK

at+wopen=2 //------- Open AT version
+WOPEN: 2,“AT v03.12”,“AT v03.13”
OK

AT+GCAP
+GCAP: +CGSM, +FCLASS
OK

AT+CGREG?
+CGREG: 1,1
OK

at+cgclass=“CG”
OK

AT+CGDCONT=1,“IP”,“airtelgprs.com”,“220.222.148.6”,0,0
OK

AT +CGATT=1
OK

at+cgatt?
+CGATT: 1
OK

at+cgact=?
+CGACT: (0-1)
OK

at+cgact?
+CGACT: 0,0
+CGACT: 1,0
OK

at+cgact=1,1 //------------ Something wrong with this command?
+CME ERROR: 133

at+cgdata=1
CONNECT 115200
~ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´~~ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´~
NO CARRIER

atd99**1#
CONNECT 115200
~ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´~~ÿ}#À!}!}!} }6}!}$}%Ü}"}&} } } } }’}"}(}"}#}$À#&´~
NO CARRIER

  1. Why this NO CARRIER is comming?
  2. How to solve the problem?
  3. Please suggest me the AT command in which I can specify the port number
    of (live IP) server to which my modem going to connect.
  4. How to download new software in modem? Where from I can get the new software for this modem?

Please help me in solving this problem.


#2

Have you looked-up the meaning of +CME ERROR: 133 :?:

(the error codes are listed in an appendix at the end of th AT Commands manual)

See: viewtopic.php?f=30&t=2275&p=9244#p9248


#3

Hiya,

Looks like your GPRS connection is working perfectly.

This looks like a perfectly normal PPP data stream to me.

Because the remote PPP server end has not had a valid PPP response with some timeout and is hanging up.

To be trite, send a PPP response.
To be a little deeper, the modem is doing exactly what you asked of it - create a connection to the remote server, and pass any data received over the radio to the uart, and vice versa. The way you have set up the call assumes that there will be a device (PC or microprocessor) on the UART that understands how to talk PPP. In this case the modem is completely transparent to the data being transferred across it.

You need to look into using the WIP application/plugin. This wraps the GPRS data into a set of standard AT style commands - and hides all the low-level TCP stuff from the end user

Sounds like you need to look into the Tutorials provided with the OpenAT dev kit. Some doco available on the Wavecom website - although a developer login is required to download. You could also chat to your Distributor about what training courses are available.

Either from the Wavecom website, or from your Distributor. Probably best to talk to your distributor about your proposed application first - they should be able tyo point you in the right direction.

ciao, Dave


#4

Another one for the FAQ: viewtopic.php?f=7&t=3766&p=15722#p15722


#5

Thank you for your attention and your time.

I have connected the modem on uart of 8051 based (upsd3354) controller. I am not connecting modem with the PC.
How to implement PPP stack in modem?
What are the settings?

Meaning of +CME ERROR: 133 :question: is “requested service option not subscribed (#33)” --> that means GPRS is not supported in my modem or SIM.

Thanks for reply.


#6

As davidc said, you have two options:

  1. Use WIPSoft, which gives you a set of special AT Commands;
  2. Create an Open-AT Application - using WIPLib - within the modem.

Again, you really should be talking to your Distributor about this to discuss the most appropriate options for your paritcular requirements and your particular skills.


#7

Hiya,

If you want to do all this in the 8051, you’re going to have to either write (probably difficult and time consuming) or buy a PPP client and TCP/IP stack. I’m not an 8051 programmer, so have no idea about required resources/difficulty etc - but I doubt that writing your own TCP stack (and getting it right :smiley: ) is all that simple.

Or, you could look at using the Wavecom WIP library/application that is available for the wavecom modems. This would be my preferred option.

Please talk to your Distributor about the right version of the WIP application for the modem you have purchased.

ciao, Dave


#8

Or use one of the many open-source stacks; eg, uIP is particularly targeted at very small embedded processors.

However, as the TCP/IP stack is useless without the modem, it seems pointless to me to waste the 8051’s scarce resources on it when the modem is perfectly capable of doing it itself!


#9

Thanks for reply.
Implementing PPP or IP stack on 8051 controller is not that good solution.

Is there any AT command to enable PPP stack in modem or I have to re-program the modem for that PPP stack ???
Where from I get the New software which support PPP stack for modem (is online available)?

Thanks.


#10

Please, [size=150]go and discuss this with your distributor![/size]

You really need to sit down and have a thorough discussion - it is just not practical in forum posts!

Your Distributor will be able to give you the documents, brochures, etc, and demonstrate the options to you.


#11

Thanks for your suggestions.
I will discuss with my distributor.