943,568 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 24924
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Mar 5th, 2007
-1

How to send sms from computer to mobile phone?

Expand Post »
Hello,
I need to write a programm in C++ to send a sms from a PC to a mobile phone as a part in my project, so can you please help me?

Reegards,
Noora
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noora000 is offline Offline
7 posts
since Mar 2007
Mar 5th, 2007
0

Re: How to send sms from computer to mobile phone?

contact a service provider, they'll have APIs for you (at a price).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 6th, 2007
0

Re: How to send sms from computer to mobile phone?

Click to Expand / Collapse  Quote originally posted by jwenting ...
contact a service provider, they'll have APIs for you (at a price).
Thank you, but the problem the service provider they offer applications, but I need a code to add it to my software. I am going to add this sms code to my main code, so do you have any suggestion?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noora000 is offline Offline
7 posts
since Mar 2007
Mar 6th, 2007
0

Re: How to send sms from computer to mobile phone?

> but the problem the service provider they offer applications,
Find out more about what they offer, read some documentation.
Maybe it's all done through a nice DLL you can just link to.
Or maybe it's a simple command line program where you can do "sendSms number message", which would be dead easy to use from your code.

http://clusty.com/search?query=web+s...Mozilla-search
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Mar 6th, 2007
0

Re: How to send sms from computer to mobile phone?

If you talk to the consumer helpdesk or salesrep, they will indeed give you (or sell you) a ready made piece of software (which is what mom and pop want).
You'll need to dig deeper, or maybe go to a specialised company, to get an API.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 7th, 2007
0

Re: How to send sms from computer to mobile phone?

Thanks Salem and jwenting, I will contact my service provider...
Also I am thinking to use visual because it is easier to send sms using a GSM modem and I will connect the C++ and visual codes together...
Thanks again...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noora000 is offline Offline
7 posts
since Mar 2007
Jul 3rd, 2007
0

Re: How to send sms from computer to mobile phone?

please give me the suggestion and cheapest way(cost) for sending sms from computer (linux)to mobile for project? and also we need code for that urgently
Reputation Points: 10
Solved Threads: 1
Newbie Poster
mmangai is offline Offline
12 posts
since Feb 2007
Jul 3rd, 2007
0

Re: How to send sms from computer to mobile phone?

I've used the old Ericsson mobiles to read contents of SIM cards and to send/read SMSs. The commands are sent to the mobile using your serial port at 9600,n,8,1 - you will need to convert the RS232 level (+/- 10 volts) to TTL level (0-5 volts) - can use MAX232 or some transistors & resistors - or you can use a ready made cable (don't know where you'd get it - maybe eBay).

Then send serial AT commands to the mobile, as detailed in:
http://www.usbdeveloper.com/GSMPage/gsmpage.htm
(there may be some Nokia commands here also?)

Old Nokia phones can be used in a similar manner. I assume a different command set is required. Check out www.siliconchip.com.au as they have some projects on using Nokia phones for sending/receiving SMSs.

Simple!
Reputation Points: 85
Solved Threads: 45
Posting Whiz in Training
dougy83 is offline Offline
275 posts
since Jun 2007
Jul 5th, 2007
0

Re: How to send sms from computer to mobile phone?

[quote=dougy83;398328]I've used the old Ericsson mobiles to read contents of SIM cards and to send/read SMSs. The commands are sent to the mobile using your serial port at 9600,n,8,1 - you will need to convert the RS232 level (+/- 10 volts) to TTL level (0-5 volts) - can use MAX232 or some transistors & resistors - or you can use a ready made cable (don't know where you'd get it - maybe eBay).


thanks
it works.i connected it.but while sending sms error cms330 occured.
actually it is sms centre unknown.how will we proceed further
at
ok
at+cmgf=1
ok
at+cmgw="+91347675898908"
>msg ctrl+z
cms error330
Reputation Points: 10
Solved Threads: 1
Newbie Poster
mmangai is offline Offline
12 posts
since Feb 2007
Jul 13th, 2007
0

Re: How to send sms from computer to mobile phone?

we are trying to send message from pc to mobile by using hyperterminal using AT commands.
we have encountered a problem
while typing reciever number
at+cmgs="xxxxxxxxxxx" we got +cms:304 error
but not always.sometimes it works and we can send msg .the mobile and pc used was same.
please help us to rectify that
tnx
Reputation Points: 10
Solved Threads: 1
Newbie Poster
mmangai is offline Offline
12 posts
since Feb 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Is it bad practice to define functions in a header file?
Next Thread in C++ Forum Timeline: taylor sequence in c++





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC