Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
General TopicsGSMBluetooth
Providers
AlltelATT WirelessCingularFidoNextelSprint PCST-MobileVerizon
Manufacturers
EricssonNokiaMotorola
Country Specific
Australian GroupUK Group
Related Topics
PocketPCPalmMore Topics ...

Cellular Phone Forum / General / GSM / October 2007

Tip: Looking for answers? Try searching our database.

Can GSM modem notify my computer when a SMS message arrived?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DAXU@HOTMAIL.COM - 25 Oct 2007 14:32 GMT
Hi,

I have a GSM modem connected to my computer via serial port. From
computer side, I can attach a handler to the serial port so that
computer can be notified when data is received from the port.

My question is that when the GSM modem received a sms message, how can
I let the modem send something to the serial port so that my computer
knows that a message is there? Do I have to use a microcontroller to
do this?

Cheers,

Jerry
John Henderson - 25 Oct 2007 20:53 GMT
> I have a GSM modem connected to my computer via serial port. From
> computer side, I can attach a handler to the serial port so that
[quoted text clipped - 4 lines]
> knows that a message is there? Do I have to use a microcontroller to
> do this?

You can either have the modem pass the message directly and
immediately to the serial port (rather than store it
internally), or simply have the modem send an unsolicited
notification to the serial port.

There are quite a few options as well as device-specific
implementation uncertainties however, so I can't suggest a set
of exact commands guaranteed to do just what you want.

GSM specification 07.05 contains details of the SMS-related
"AT+C" commands, but your modem documentation should have actual
 supported syntax and parameter lists.

You'll need to decide between text-mode and PDU-mode.  See
"AT+CMGF".

Use "AT+CNMI" to route either the messages themselves, or simply
SMS notifications, to the serial port as either "+CMT: " or
"+CMTI: "  unsolicited result codes respectively.  You may need
to use the "AT+CNMA" command in combination with this.

This can be complex stuff for the uninitiated, so don't be shy
about asking further questions if you get stuck.

John
DAXU@HOTMAIL.COM - 26 Oct 2007 10:08 GMT
> D...@HOTMAIL.COM wrote:
> > I have a GSM modem connected to my computer via serial port. From
[quoted text clipped - 31 lines]
>
> John

Thanks, I will give a try.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.