Solved

receive sms from N70 using at commands on a terminal

Posted on 2006-11-03
6
2,297 Views
Last Modified: 2013-12-09
I have just started to research into at commands.

Initially I would like to receive sms messages on a terminal screen.
I have managed to connect my Nokia N70 to Hyper Terminal using Bluetooth and can use some at commands.
When I try to start the message watching command I get an error....

This is what I do:
AT+CMGF=1 [To format SMS as a TEXT message]
OK

AT+CNMI=1,2,0,0,0    [Set how the modem will response when a SMS is received]
ERROR

Why do I get this error?? Should it work??

----------------------------

Eventually I would like to build a program which would add all the text messages to a database and then display the messages in order on a screen (txt to screen) for a night club…
0
Comment
Question by:Steve Tinsley
[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
6 Comments
 
LVL 13

Accepted Solution

by:
imarshad earned 125 total points
ID: 17925939
Try AT+CNMI=0,2,0,0,0

 If you want to read the SMS as it is received then you will definitely need to use AT+CNMI.... But with my experience I have seen different modems that are not standarized as far as the CNMI command is concerned.... All of my modems though worked fine with the AT+CNMI=0,2,0,0,0 command.

Else you can use
AT+CMGL="ALL"
command to read all SMS received in one command..... You can call this command after every say 2 minutes to see all the new messages received.....
0
 

Author Comment

by:Steve Tinsley
ID: 18105440
Any recommendations on a modem that I should get???
0
 
LVL 13

Expert Comment

by:imarshad
ID: 18266024
You can use any modem from Wavecom or Fargo etc as long as it supports standard AT commands....
We are using Fargo Maestro 20 and 100 in most of our projects.....
0
 
LVL 2

Assisted Solution

by:Nagavali
Nagavali earned 125 total points
ID: 18383580
AT+CNMI=1,2,0,0,0    [Set how the modem will response when a SMS is received]
ERROR

Looks like the modem that you are using is not supporting this particular AT command. You can confirm the same by using AT+CNMI? If you still wish to use the same modem, you might have to do a work around for the functionality that you wish to achieve.

Ofcourse, the other alternative would be to go for a new modem (e.g Wavecom), that supports this command.
0

Featured Post

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

Need WiFi? Often, there are perfectly good networks that don't have WiFi capability - and there's a need to add it.  - Perhaps you have an Ethernet port into a network but no WiFi nearby. - Perhaps you have a powerline extender and no WiFi at the…
With the purchase of CloudCommand by Comcast customers are left in a bind as subscriptions expire and render the AP's disabled. The following will explain how to flash your Ubiquiti AP's with CloudCommand firmware back to Ubiquiti firmware. HOWTO…
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…

695 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