• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2876
  • Last Modified:

AT+CNMI command not working for Nokia E50

I am developing software to receive sms through bluetooth.In Nokia E50 I am receiving error message when I send AT+CNMI command. Is there any other command should I use? how do I enable receiving?

Platform Information
OS:  Windows XP Service Pack2.
Tool : C#.Net 2.0
Bluetooth Dongle: Zippys
Driver : Bluesoleil 2.0
0
godwindotnet
Asked:
godwindotnet
  • 4
  • 3
1 Solution
 
imarshadCommented:
Have you tried the command using Hyper Terminal? and also remember that not all mobiles implement the full CNMI command.... Have you tried different variations of the command?
I mean first try
at+cnmi=?

It should return something like
+CNMI: (0-2),(0-3),(0,2,3),(0-2),(0,1)

Then try different variations of the command.... like
AT+CNMI=2,0,0,1,0
AT+CNMI=2,0,0,0,0
AT+CNMI=1,2,0,1,0
etc.

and if it is not working then you can do a polling in your application.... After a fixed time interval you simply send
AT+CMGL=4 (When in PDU mode) or
AT+CMGL="ALL" (When in text mode)....
These commands will output all the SMS in the SIM.... You can test these commands in hyper terminal....
0
 
imarshadCommented:
BTW according to the link
http://wiki.forum.nokia.com/index.php/AT_Commands
the CNMI command is implemented in NOKIA so you are most probably not being able to issue the right cnmi command...
0
 
godwindotnetAuthor Commented:
hi imarshad,
also the AT+CMGL command is not working. But Nokia E50  is sending sms.
In hyper terminal

AT+CNMI?
ERROR
AT+CNMI=?
ERROR
AT+CNMI=2,0,0,0,0
ERROR
AT+CMGL?
ERROR
AT+CMGL=?
ERROR
AT+CMGL=4
ERROR
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
imarshadCommented:
How are you sending SMS? I mean are you in PDU mode i.e AT+CMGF=0 or in text mode i.e AT+CMGF=1?
and also are you using AT+CMGS command to send SMS?
0
 
godwindotnetAuthor Commented:
I am sending sms through AT+CMGS command only.
In my software I use PDU mode (AT+CMGF=0) to send SMS.
In hyperterminal I tried in both modes. It can send sms. But not receiving at all.
I mean the same error message appears.
AT+CNMI?
ERROR
AT+CNMI=?
ERROR
etc..
Thanks in advance.
0
 
imarshadCommented:
Can you read SMS using the AT+CMGR command?
you can read using the following syntax
AT+CMGR=1
where 1 denoted the memory location in the SIM you are trying to read.... Most SIMs will store 30 SMS in them so to read the 30th SMS you can use the command
AT+CMGR=30
0
 
godwindotnetAuthor Commented:
Hi   Imarshad, I tried that also.
AT+CMGR?
ERROR
AT+CMGR=1
ERROR
AT+CMGR=2
ERROR

AT+CMGL?
ERROR
AT+CMGL=1
ERROR
AT+CMGL=4
ERROR
etc.,
But I can send sms. And I can change modes (PDU mode) AT+CMGF=0 or AT+CMGF=1.
What to do? Is there any way other than AT commands? or AT command itself having solution?
The same problem persists in Nokia 6085. My four customers had advised to buy Nokia 6085 mobiles by me. Now they bought it. I don't know what to tell them. This is extremely urgent Issue.
0
 
aero09Commented:
i have the same problem, it looks like nokia decided to drop these commands... they dont work for me either. i have an e50.
i too can send sms from hyper terminal.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now