Question

SMS over GPRS

Asked by: manupeco

I'm trying to send sms over gprs with a modem connected to pc through a serial cable. The AT command that I use are the follow:

AT+CGSMS = 0;
AT+CMGF = 1;
AT+CMGS = "PhoneNumber"
> Testo del messaggio ^Z(CTRL+Z)

I have tried to send command with hyperterminal and the modem get to me error at AT+CMGS command.

Another error that i have is when i try to set a simple gprs connection. The command and response is below:

at+cgdcont?
+CGDCONT: 1,"IP","uni.tim.it","",0,0
OK
atd*99#
CONNECT
~ }#À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð
}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}
%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#
À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&
} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì
,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!
}#} }<}!}$}'Ð}"}&} }*} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~~ }#À!}!}#} }<}!}$}'Ð}"}&} }*
} } }'}"}(}"}%}&Ì,}8•}#}$À#»·~
NO CARRIER
at+cgatt=0
OK

Someone can help me?

Thanks

Emanuele

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-05-16 at 03:58:58ID20618436
Tags

sms

,

gprs

,

over

Topic

Wireless Application Protocol (WAP)

Participating Experts
2
Points
20
Comments
11

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. GPRS communication
    hi everyone, I am developing a GPRS application on ppc2002.i havent worked on GPRS before sending at commands at the hyperterminal is not working please help e throught this. waiting in anticipication regards mahesh
  2. TRying to connect to GPRS through irDA
    Dear All I am trying to connect to GPRS through HyperTerminal using irDA with nokia 6610 herin what i've done, : at OK at+cgatt=1 OK at+cgdcont=1,"ip","waselmnet","0.0.0.0",0,0 OK atd...
  3. GPRS / PC Communications
    Hi. I have a device that will transmit text data (engine temperature, oil pressure, etc.) via the GPRS network to a PC. My job is to recieve this data on the PC and show the information graphically. How would I actually access the GPRS network from this PC (which has a consta...
  4. GPRS connection configuration problem
    I'm trying to setup a Q2426B Wavecom modem to navigate using the GPRS channel. Given the following sequence: AT+CREG? +CREG: 1,2 OK AT+CREG=1 OK +CREG: 2 AT+CREG? +CREG: 1,2 OK You can note that the device never registers on the network, its looking for a new ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: navenetworksPosted on 2003-05-27 at 21:01:59ID: 8595072

Hi sir,

If the AT+CMGS command don't work it is because the last command was not sucessfull.
AT+CMGF = 1 This put the mobile phone in text mode SMS, but this command don't work with all the mobile phones.

For example,  Ericsson T39 only works in PDU mode AT+CMGF=0. Most Nokia mobile phone allow more modes to work in.

I am sure this url will help u to resolve your problem.

http://www.dreamfabric.com/sms/

I am sure this will help u to work.

The ATD command should be atd*99***1#
The think you get is correct, just it is difficult to understand using the hiperterminal tool :)

Raul Mate

 

by: manupecoPosted on 2003-05-29 at 00:33:50ID: 8604000

Thanks Raul,
but i have another question now. When I try to send sms with commands specified in the question, there must to be a GPRS connection already active or the phone provide after the AT command to establish a connection?

I have tried with ATD*99***1# but the result is the same. This because there must to be a PPP negotiation beetween client and server and i don't think that the simple AT commands are sufficient to establish the connection.


Thanks
Emanuele Pecorari

 

by: navenetworksPosted on 2003-05-29 at 03:56:38ID: 8604848

Hi,

The mobile phone cannot send SMS at same time that a GPRS connection is connected using the serial cable. It is curious that with the mobile phone (from the mobile phone) it works correctly because the mobile phone when you do a phone call or send a sms it interrupt the GPRS connection without disconnecting, stoping the packet transfer and then it works again. But this can only done by the mobile phone.

If you just want to send sms quickly use the protocol PDU it will work very good for u. If you want to send using the text mode, get the Nokia 6210 it is the more quick mobile phone to send SMS at 1 sec by sms rate :) You can do a simple application it just send this AT command and you will send very quick.

The only thing important if you do this is to interrumpt sending every 30 minutes, to delete received messages (some people answer) or the mobile will get ram off and it will not continue sending at 1 sec/sms rate. With Nokia communicator or other mobile phones is very SLOW, 5 sec /sms rate.

About " have tried with ATD*99***1# but the result is the same. This because there must to be a PPP negotiation beetween client and server and i don't think that the simple AT commands are sufficient to establish the connection." you are right, it is very difficult to do a PPP connection yourself, you need a PPP protocol API or just to connect with a simple windows :-)

You can try anyway to make some test, runing commands with ; at the end, so the command mode will continue working and maybe you get some way to send sms beeing connected but i think it will not work because the PPP could detect some errors and u get disconnected then.

If you need to send lot of sms by sec, tell me :) there are better solutions to send lot of SMS :)

Just tell me, i have lot of experience about this.

Raul Mate Galan

 

by: manupecoPosted on 2003-05-29 at 05:29:25ID: 8605290

I understand your precisations but I have a Sony Ericsson T300 and one of its options is the possibility of choose to send SMS through GSM or GPRS. So, in this case i think that the GPRS connection and the SMS sending must  coexist.

Then I think that is possible to lead phone through serial cable to send SMS over GPRS at the same manner to send SMS over GPRS from phone directly.

Do you know what the phone does when send SMS over GPRS?

Thanks
Emanuele Pecorari

 

by: navenetworksPosted on 2003-05-29 at 09:28:12ID: 8607108

I have read the next doc:
http://216.239.51.100/search?q=cache:CWROKRE3QnIJ:www.nokiame.com/tech-GPRS-using.shtml+send+sms+using+GPRS&hl=es&ie=UTF-8

Using my Nokia GPRS mobile

Can I make normal speech calls during the GPRS data transfer, and how does it affect to the data transfer?
Yes, it is possible. The GPRS data transfer is suspended (i.e. data transfer is paused) while making or receiving the voice call. After the call it is possible to resume e.g. WAP browsing.


Can I divert calls when using GPRS?
Yes. With a GPRS connection open you may activate call diverts using the mobile menu. With dial-up the mobile menu is normally accessible. Activating and deactivating diverts is done the normal way from the user point of view. With WAP the browser must be closed to
 
 change diverts or you need to activate diverts before you start using WAP browser.

Can I use the voice name dialer and commands?
Yes. You may use also the voice dialer and commands while the Always-on is enabled. However, during the data transfer, the voice dialing and commands function disabled.  <---- SOME COMMANDS AT ARE DISABLED

Can I receive and send SMS when GPRS is on? <--- I AM LOOKING FOR MORE INFO ABOUT IT
Yes, normally.

Can I receive an SMS while using WAP over GPRS?
When an SMS is received it is not displayed while the browser is open. Only an indication tone is played (this depends on the profile settings) and after closing the browser the received SMS is displayed.

Can I send an SMS while using WAP over GPRS?
No. It is not possible to send an SMS without closing the WAP browser first. After sending the SMS you can start WAP browsing again from your homepage.

Operations and some features are network dependent. Please check the availability of WAP services with your network operator and/or WAP service provider.


 
I will try to find more info to help you.

Read this article, maybe it can  help u too:
http://www.optimay.com/en/product/fs.html

Look for AT COMMANDS FOR GPRS, maybe there is a way to do it, if i find something i will post it there friend.

If you can help me i will appreciate a lot.

I am looking for some way to send GET and POST commands to a WAP GATEWAY, do u know something about it?

I need to communicate me to a wap gateway to ask the gateway for a page. It seems the communication is using UDP packets so we cannot test with TELNET port 9201 the protocol :)

I need more info about it.

Raul

 

by: navenetworksPosted on 2003-05-29 at 10:13:02ID: 8607462

http://www.ericsson.com/mobilityworld/developerszonedown/downloads/docs/more_phones/T39_dg.pdf
You can get the same for your model.

But I got info about sending SMS using GPRS,

The related command to perform it is AT+CGSMS? to see the status or AT+CGSMS=2 to setup send SMS using GRPS.

There is a command it will interrupt GRPS connection to be able to send the SMS and then when the command SMS is sucefull you will be able to restore the GPRS connection in the same point.

AT+CGATT= 0 Detach GPRS service,

AT+CGATT=1 Attach GPRS service

Maybe this tool can help u to do it, if you resolve it please send me a piece of info about :) maybe in the futur i could need it too.

See this homepage: http://www.ericsson.com/mobilityworld/sub/open/docs-all.html

http://www.ericsson.com/mobilityworld/sub/open/devices/more_phones/docs/t300_doc Special doc for your mobile.

Raul

 

by: navenetworksPosted on 2003-05-29 at 14:29:41ID: 8609265

have u tried AT*99#;

and then the other command?

Raul

 

by: manupecoPosted on 2003-05-30 at 01:38:01ID: 8612285

Now i'm able to connect with GPRS with command AT*99***1# through pppd call on Linux calling from a Java application.

But my problem is now that I must to send AT commands for send SMS through GPRS to modem but this is busy for GPRS connection launched from the same java application that after must send these AT commands.

The soultion should be to do the call AT*99***1# from the same java application but I'm not able to lead only PPP negotiation from application.

In fact, when I launch ppd call, it's able to do the whole process for connection i.e. at commands for calling and ppp negotiation. I want to isolate the ppp negotiation part to call it when I have launched ATDT from java application and I have received connect response form server that indicates that the communication can start

Someone have idea about it?

Raul, do you want to send GET and POST to Wap Gateway form an application? in what language?

Best Regards
Emanuele

 

by: navenetworksPosted on 2003-05-30 at 12:41:50ID: 8616840

I need it to be done in several languages: It could be in PHP, Visual Basic or Delphi.
If you can help me I will appreciate really.

I have a question, why u need to send sms connected to GPRS?

Raul

 

by: manupecoPosted on 2003-05-31 at 01:17:01ID: 8619340

I need to send SMS through GPRS because it's faster than on GSM.

 

by: touchringPosted on 2003-06-23 at 05:19:08ID: 8780936

I find this post very interesting, and did some research in this area using my wavecom gprs module.   I can't figure out why we must connect ppp when we can connect to the GPRS network, as in AT+CGACT=1.  So i tried the steps mentioned above, and also with reference to Wavecom's started guide.

At first, i got some unknown error with AT+CMGS --> CME 500 Error and CMS 514, which is unidentified destination number - not a logical response to me - and so I decide to update the firmware to the latest, thinking it might be version problem.  Also, the wavecom guide says AT+CGSMS=0 doesn't work for that current version - the guide was created in 2002, now is mid-2003.

After upgrading, i got the CMS 47 error instead.

The CMS 47 error is defined as  "Resources unavailable, unspecified - This cause is used to report a resource unavailable event only when no other cause applies."

Ok, i think i managed to get it to the point whereby the modem tries to send SMS over GPRS, but the carrier doesn't support SMS over GPRS.

Alas, i can't test any more, because - i found out all the carriers in my country do not support SMS over GPRS!!!

Can someone try out the same steps, but in a network with SMS over GPRS support, and share your findings with everyone?


Note: i used AT+CMGF=1, but wavecom can support text other than PDU.


Rgds,
Joshua


Email: joshua@visualgsm.com
http://www.visualtron.com

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...