Problem with reading SMS from GSM Modem

Posted on 2005-02-28
Medium Priority
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?
Question by:rivaborn
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
LVL 13

Expert Comment

ID: 13429228
In which language are you developing?


Author Comment

ID: 13432908

Using Visual Studio .net 2003

Author Comment

ID: 13436179

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.

Accepted Solution

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

Community Support Moderator

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