?
Solved

Problem with reading SMS from GSM Modem

Posted on 2005-02-28
5
Medium Priority
?
1,357 Views
Last Modified: 2013-12-09
I have an enfora GSM 1218 Modem. I am writing an application that reads SMS off the modem. The application also detects phone calls to the modem and logs the calling number. SMS messages come from mobile phones and the internet (SMSC).

Currently I am using a combination of +CMGL and +CMGR to read the SMS messages. I am using +CLCC to detect ringing and to retrieve the calling number.

This requires that I continously poll the GSM modem.

I would like to use the +CMTI notifications to simplify the reading of SMS. I have tried +CNMI=2, 1 but I am not receiving any notifications.

When I log onto the phone with Hyperterminal +CTMI notifications are shown with this CNMI setting.

My program goes into a loop that reads the GSM phone com port, but receives nothing.

What am I doing wrong?
0
Comment
Question by:rivaborn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 13

Expert Comment

by:imarshad
ID: 13429228
In which language are you developing?

Imran
0
 

Author Comment

by:rivaborn
ID: 13432908
C++

Using Visual Studio .net 2003
0
 

Author Comment

by:rivaborn
ID: 13436179
Solved!

The problem was in my serial port code and it arose from an incomplete understanding of serial port programming.

In summary I was not trapping serial port events.

I will paste a sample of working code as soon as I have everything working satisfactorilly - hopefully tomorrow.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14353620
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Coaxial cable bending There are several factors that govern the selection of coaxial cable for your Machine to Machine (M2M) application: the location of cable runs, either indoor or outdoor, inside or outside an enclosure, maximum bending and the…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question